[ 
https://issues.apache.org/jira/browse/HADOOP-18820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756979#comment-17756979
 ] 

ASF GitHub Bot commented on HADOOP-18820:
-----------------------------------------

steveloughran opened a new pull request, #5973:
URL: https://github.com/apache/hadoop/pull/5973

   
   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:
   
   - [X] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [X] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [X] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   




> AWS SDK v2: make the v1 bridging support optional
> -------------------------------------------------
>
>                 Key: HADOOP-18820
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18820
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.4.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>              Labels: pull-request-available
>
> The AWS SDK v2 code includes the v1 sdk core for plugin support of
> * existing credential providers
> * delegation token binding
> I propose we break #2 and rely on those who have implemented to to upgrade. 
> apart from all the needless changes the v2 SDK did to the api (why?) this is 
> fairly straighforward
> for #1: fix through reflection, retaining a v1 sdk dependency at test time so 
> we can verify that the binder works. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to