Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18073

S3A: Upgrade AWS SDK to V2

    XMLWordPrintableJSON

Details

    • Incompatible change
    • Hide
      The S3A connector now uses the V2 AWS SDK.
      This is a significant change at the source code level.
      Any applications using the internal extension/override points in
      the filesystem connector are likely to break.
      Consult the document aws_sdk_upgrade for the full details.
      Show
      The S3A connector now uses the V2 AWS SDK. This is a significant change at the source code level. Any applications using the internal extension/override points in the filesystem connector are likely to break. Consult the document aws_sdk_upgrade for the full details.

    Description

      This task tracks upgrading Hadoop's AWS connector S3A from AWS SDK for Java V1 to AWS SDK for Java V2.

      Original use case:

      We would like to access s3 with AWS SSO, which is supported in software.amazon.awssdk:sdk-core:2.*.

      In particular, from https://hadoop.apache.org/docs/stable/hadoop-aws/tools/hadoop-aws/index.html, when to set 'fs.s3a.aws.credentials.provider', it must be "com.amazonaws.auth.AWSCredentialsProvider". We would like to support "software.amazon.awssdk.auth.credentials.ProfileCredentialsProvider" which supports AWS SSO, so users only need to authenticate once.

      Attachments

        1. Upgrading S3A to SDKV2.pdf
          204 kB
          Ahmar Suhail

        Issue Links

          Activity

            People

              ahmar Ahmar Suhail
              xiaoweisun xiaowei sun
              Votes:
              3 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m