Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11694 Über-jira: S3a phase II: robustness, scale and performance
  3. HADOOP-13319

S3A to list InstanceProfileCredentialsProvider after EnvironmentVariableCredentialsProvider

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.8.0
    • None
    • fs/s3
    • None

    Description

      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.

      Attachments

        1. HADOOP-13252-branch-2-001.patch
          34 kB
          Steve Loughran

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: