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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.8.0
    • Fix Version/s: None
    • Component/s: fs/s3
    • Labels:
      None
    • Target Version/s:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: