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

Steve Loughran commented on HADOOP-19282:
-----------------------------------------

[~rajagopr] missed your last comment.

we cannot directly change the code because then  we end up with httpclient/sdk 
version problems, problems where "upgrade your httpclient to what the sdk 
requires" has its own consequences.

we have done work inADOOP-17337 the past to support shaded and unshaded 
httpclients -see 
org.apache.hadoop.fs.s3a.impl.NetworkBinding

The setup for STS seems more complex. If you have a PR to do this though, we 
could certainly look at itl.

If this is the only place where there is a problem (and I've changed the title 
to match), then what about just copying the class you need into a new package 
and creating your own sts CredentialProvider -assuming that is what you need? 
that's already a configurable plugin point, so this is straightforward. You can 
even take the tests...

> S3A: STSClientFactory has hard-coded dependency on shaded HttpClient
> --------------------------------------------------------------------
>
>                 Key: HADOOP-19282
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19282
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: melin
>            Priority: Major
>
> hadoop-aws directly depends on aws-java-sdk-bundle, and the size of 
> aws-java-sdk-bundle is too large. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to