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 "Chris Nauroth (JIRA)" <ji...@apache.org> on 2017/04/12 17:13:41 UTC

[jira] [Resolved] (HADOOP-14301) Deprecate SharedInstanceProfileCredentialsProvider in branch-2.

     [ https://issues.apache.org/jira/browse/HADOOP-14301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Nauroth resolved HADOOP-14301.
------------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.9.0

+1 and committed to branch-2.  [~liuml07], thank you for the patch.

> Deprecate SharedInstanceProfileCredentialsProvider in branch-2.
> ---------------------------------------------------------------
>
>                 Key: HADOOP-14301
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14301
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>             Fix For: 2.9.0
>
>         Attachments: HADOOP-14248-branch-2.002.patch
>
>
> [HADOOP-13727] added the {{SharedInstanceProfileCredentialsProvider}}, which effectively reduces high number of connections to EC2 Instance Metadata Service caused by {{InstanceProfileCredentialsProvider}}. That patch, in order to prevent the throttling problem, defined new class {{SharedInstanceProfileCredentialsProvider}} as a subclass of {{InstanceProfileCredentialsProvider}}, which enforces creation of only a single instance.
> Per [HADOOP-13050], we upgraded the AWS Java SDK. Since then, the {{InstanceProfileCredentialsProvider}} in SDK code internally enforces a singleton. {{SharedInstanceProfileCredentialsProvider}} can be deprecated as of release 2.9.0.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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