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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to