You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2022/10/04 17:03:00 UTC

[jira] [Commented] (HADOOP-15650) Add custom InstanceProfileCredentialsProvider with more resilience to throttling

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

Steve Loughran commented on HADOOP-15650:
-----------------------------------------

lets see what the v2 sdk does first...

> Add custom InstanceProfileCredentialsProvider with more resilience to throttling
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-15650
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15650
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.1.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> Add our own InstanceProfileCredentialsProvider class which uses the AWS implementation to retrieve credentials from EC2's instance info, but more resilient to overloading.
> # pass in client config with retry logic (HADOOP-15603)
> # use Invoke.retry() to retry
> # log/measure failures
> # maybe use the Async feature of the AWS SDK class, so that credential renewer doesn't block IO.
> # be shared amongst all AWS auth chains which need these credentials.
> The singleton we current use for IAM auth doesn't do async, which is good as it ensures that we don't prematurely close it when {{AWSCredentialProviderList.close()}} closes its children.



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

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