-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-18820. Cut AWS v1 support (#5872) #5973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HADOOP-18820. Cut AWS v1 support (#5872) #5973
Conversation
This removes the AWS V1 SDK as a hadoop-aws runtime dependency. It is still used at compile time so as to build a wrapper class V1ToV2AwsCredentialProviderAdapter which allows v1 credential provider to be used for authentication. All well known credential providers have their classname remapped from v1 to v2 classes prior to instantiation; this wrapper is not needed for them. There is no support for migrating other SDK plugin points (signing, handlers) Access to the v2 S3Client class used by an S3A FileSystem instance is now via a new interface org.apache.hadoop.fs.s3a.S3AInternals; other low-level operations (getObjectMetadata(Path)) have moved. Contributed by Steve Loughran Change-Id: I231fade61b20a206a018d18f5e867f5d3a1fa879
|
tested s3 london; mvit -Dparallel-tests -DtestsThreadCount=8 -Dscale existing multipart issue we should be able fix soon. |
mukund-thakur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM +1, already reviewed here #5872
|
💔 -1 overall
This message was automatically generated. |
Change-Id: I37415cd88a1a46f8537adc4c042855d7e349e8cd
|
aah, missed that I'd not pushed up the final changes for the build to work. pushed up and retesting for digiligence. I'm tempted to cherrypick the util.Sets class to branch-3.3, as that was the problem |
|
💔 -1 overall
This message was automatically generated. |
|
tests happy; merging this into the feature branch |
2253c62
into
apache:feature-HADOOP-18073-s3a-sdk-upgrade-3.3
This removes the AWS V1 SDK as a hadoop-aws runtime dependency.
It is still used at compile time so as to build a wrapper class V1ToV2AwsCredentialProviderAdapter which allows v1 credential provider to be used for authentication.
All well known credential providers have their classname remapped from v1 to v2 classes prior to instantiation; this wrapper is not needed for them.
There is no support for migrating other SDK plugin points (signing, handlers)
Access to the v2 S3Client class used by an S3A FileSystem instance is now via a new interface org.apache.hadoop.fs.s3a.S3AInternals; other low-level operations (getObjectMetadata(Path)) have moved.
Contributed by Steve Loughran
How was this patch tested?
testing in progress
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?