Skip to content

exclude aws-java-sdk from hadoop-aws dep in hdfs-storage module#4437

Merged
leventov merged 2 commits intoapache:masterfrom
himanshug:fix_build
Jun 22, 2017
Merged

exclude aws-java-sdk from hadoop-aws dep in hdfs-storage module#4437
leventov merged 2 commits intoapache:masterfrom
himanshug:fix_build

Conversation

@himanshug
Copy link
Copy Markdown
Contributor

instead make it use aws-java-sdk-s3.

Fix for the issue discussed in #4313 (comment) about aws always requiring credentials directory. i verified the this patch to ensure that said issue is fixed.

@himanshug himanshug added the Bug label Jun 21, 2017
@himanshug himanshug added this to the 0.10.1 milestone Jun 21, 2017
@himanshug himanshug requested a review from b-slim June 21, 2017 17:28
@b-slim
Copy link
Copy Markdown
Contributor

b-slim commented Jun 21, 2017

👍 after tests. Thanks @himanshug

Comment thread pom.xml
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-s3</artifactId>
Copy link
Copy Markdown
Member

@leventov leventov Jun 21, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the same list of exclusions as above for aws-java-sdk-ec2:

                <exclusions>
                    <exclusion>
                        <groupId>javax.mail</groupId>
                        <artifactId>mail</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.fasterxml.jackson.core</groupId>
                        <artifactId>jackson-databind</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.fasterxml.jackson.core</groupId>
                        <artifactId>jackson-annotations</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>commons-codec</groupId>
                        <artifactId>commons-codec</artifactId>
                    </exclusion>
                </exclusions>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added, thanks

Comment thread pom.xml Outdated
@@ -189,7 +190,7 @@
<artifactId>aws-java-sdk-ec2</artifactId>
<!-- Cannot update to AWS SDK 1.11+ because of Jackson incompatibility.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move this comment to where aws.sdk.version is declared, line 78.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved

@leventov
Copy link
Copy Markdown
Member

Seems that integration tests failed.

@himanshug himanshug closed this Jun 22, 2017
@himanshug himanshug reopened this Jun 22, 2017
@himanshug himanshug closed this Jun 22, 2017
@himanshug himanshug reopened this Jun 22, 2017
@leventov
Copy link
Copy Markdown
Member

@himanshug could you restart build from travis page? it's 1 more click for you, but OTOH it doesn't create email notifications for PR subscribers

@leventov leventov merged commit 61c38b6 into apache:master Jun 22, 2017
@b-slim
Copy link
Copy Markdown
Contributor

b-slim commented Jun 22, 2017

@himanshug can you backport this please ?

fjy pushed a commit that referenced this pull request Jun 23, 2017
…torage module (#4451)

* exclude aws-java-sdk from hdfs-storage module

* address review comments
@himanshug himanshug deleted the fix_build branch December 29, 2017 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants