Skip to content

Commit

Permalink
[FLINK-14881][s3] Bump aws-sdk-version to 1.11.754, httpclient to 4.5…
Browse files Browse the repository at this point in the history
….9 and add aws-java-sdk-sts dependency to support WebIdentityToken
  • Loading branch information
aroch authored and rmetzger committed May 14, 2020
1 parent 96b86fc commit dd5d007
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 13 deletions.
7 changes: 6 additions & 1 deletion flink-filesystems/flink-s3-fs-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ under the License.
<packaging>jar</packaging>

<properties>
<fs.s3.aws.version>1.11.271</fs.s3.aws.version>
<fs.s3.aws.version>1.11.754</fs.s3.aws.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -204,6 +204,11 @@ under the License.
<artifactId>aws-java-sdk-dynamodb</artifactId>
<version>${fs.s3.aws.version}</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-sts</artifactId>
<version>${fs.s3.aws.version}</version>
</dependency>

<!-- Hadoop's s3 support classes (bundled) -->
<dependency>
Expand Down
11 changes: 11 additions & 0 deletions flink-filesystems/flink-s3-fs-hadoop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,17 @@ under the License.
</dependency>
</dependencies>

<dependencyManagement>
<dependencies>
<!-- aws-sdk requires httpclient >= 4.5.9 due to api compatibility breakage -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.9</version>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Copyright 2014-2020 The Apache Software Foundation

This project bundles the following dependencies under the Apache Software License 2.0 (http:https://www.apache.org/licenses/LICENSE-2.0.txt)

- com.amazonaws:aws-java-sdk-core:1.11.271
- com.amazonaws:aws-java-sdk-dynamodb:1.11.271
- com.amazonaws:aws-java-sdk-kms:1.11.271
- com.amazonaws:aws-java-sdk-s3:1.11.271
- com.amazonaws:jmespath-java:1.11.271
- com.amazonaws:aws-java-sdk-core:1.11.754
- com.amazonaws:aws-java-sdk-dynamodb:1.11.754
- com.amazonaws:aws-java-sdk-kms:1.11.754
- com.amazonaws:aws-java-sdk-s3:1.11.754
- com.amazonaws:jmespath-java:1.11.754
- com.fasterxml.jackson.core:jackson-annotations:2.10.1
- com.fasterxml.jackson.core:jackson-core:2.10.1
- com.fasterxml.jackson.core:jackson-databind:2.10.1
Expand All @@ -29,7 +29,7 @@ This project bundles the following dependencies under the Apache Software Licens
- org.apache.hadoop:hadoop-common:3.1.0
- org.apache.htrace:htrace-core4:4.1.0-incubating
- org.apache.httpcomponents:httpcore:4.4.6
- org.apache.httpcomponents:httpclient:4.5.3
- org.apache.httpcomponents:httpclient:4.5.9
- software.amazon.ion:ion-java:1.0.2

This project bundles the following dependencies under the CDDL 1.1 license.
Expand Down
12 changes: 12 additions & 0 deletions flink-filesystems/flink-s3-fs-presto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,18 @@ under the License.
</dependency>
</dependencies>

<dependencyManagement>
<dependencies>
<!-- aws-sdk requires httpclient >= 4.5.9 due to api compatibility breakage -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.9</version>
</dependency>
</dependencies>
</dependencyManagement>


<build>
<plugins>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ This project bundles the following dependencies under the Apache Software Licens
- commons-io:commons-io:2.4
- commons-lang:commons-lang:2.6
- commons-logging:commons-logging:1.1.3
- com.amazonaws:aws-java-sdk-core:1.11.271
- com.amazonaws:aws-java-sdk-dynamodb:1.11.271
- com.amazonaws:aws-java-sdk-kms:1.11.271
- com.amazonaws:aws-java-sdk-s3:1.11.271
- com.amazonaws:jmespath-java:1.11.271
- com.amazonaws:aws-java-sdk-core:1.11.754
- com.amazonaws:aws-java-sdk-dynamodb:1.11.754
- com.amazonaws:aws-java-sdk-kms:1.11.754
- com.amazonaws:aws-java-sdk-s3:1.11.754
- com.amazonaws:jmespath-java:1.11.754
- com.facebook.presto:presto-hive:0.187
- com.facebook.presto.hadoop:hadoop-apache2:2.7.3-1
- com.fasterxml.jackson.core:jackson-annotations:2.10.1
Expand All @@ -39,7 +39,7 @@ This project bundles the following dependencies under the Apache Software Licens
- org.apache.hadoop:hadoop-common:3.1.0
- org.apache.htrace:htrace-core4:4.1.0-incubating
- org.apache.httpcomponents:httpcore:4.4.6
- org.apache.httpcomponents:httpclient:4.5.3
- org.apache.httpcomponents:httpclient:4.5.9
- org.weakref:jmxutils:1.19
- software.amazon.ion:ion-java:1.0.2

Expand Down

0 comments on commit dd5d007

Please sign in to comment.