You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2016/06/24 08:33:48 UTC

[jira] [Created] (HADOOP-13319) S3A to list InstanceProfileCredentialsProvider after EnvironmentVariableCredentialsProvider

Steve Loughran created HADOOP-13319:
---------------------------------------

             Summary: S3A to list InstanceProfileCredentialsProvider after EnvironmentVariableCredentialsProvider
                 Key: HADOOP-13319
                 URL: https://issues.apache.org/jira/browse/HADOOP-13319
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/s3
    Affects Versions: 2.8.0
            Reporter: Steve Loughran
            Assignee: Steve Loughran
            Priority: Minor


S3A now has a default list of credential providers to pick up AWS credentials from

The environment variable provider added in HADOOP-12807 should go before the {{InstanceProfileCredentialsProvider}} one in the list, as it does a simple env var checkup. In contrast  {{InstanceProfileCredentialsProvider}} does an HTTP request *even when not running on EC2*. It may block for up to 2s to await a timeout, and network problems could take longer.

Checking env vars is a low cost operation that shouldn't have to wait for a network timeout before being picked up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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