Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18477 Über-jira: S3A Hadoop 3.3.9 features
  3. HADOOP-15650

Add custom InstanceProfileCredentialsProvider with more resilience to throttling

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.0
    • None
    • fs/s3
    • None

    Description

      Add our own InstanceProfileCredentialsProvider class which uses the AWS implementation to retrieve credentials from EC2's instance info, but more resilient to overloading.

      1. pass in client config with retry logic (HADOOP-15603)
      2. use Invoke.retry() to retry
      3. log/measure failures
      4. maybe use the Async feature of the AWS SDK class, so that credential renewer doesn't block IO.
      5. be shared amongst all AWS auth chains which need these credentials.

      The singleton we current use for IAM auth doesn't do async, which is good as it ensures that we don't prematurely close it when AWSCredentialProviderList.close() closes its children.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: