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

S3A: Upgrade AWS SDK to V2

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersStop watchingWatchersCreate sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        1.
        Upgrade AWS SDK to V2 - Prerequisites Sub-task Resolved Ahmar Suhail

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 40m
        Actions
        2.
        AWS v2 SDK upgrade log to not warn of use standard AWS Credential Providers Sub-task Resolved Ahmar Suhail   Actions
        3.
        AWS SDK V2 - Complete outstanding items Sub-task Resolved Ahmar Suhail   Actions
        4.
        AWS SDK V2 - Update region logic Sub-task Resolved Unassigned   Actions
        5.
        AWS SDK V2 - Qualify the upgrade. Sub-task Resolved Unassigned   Actions
        6.
        AWS SDK V2 - Fix failing tests Sub-task Resolved Unassigned   Actions
        7.
        AWS SDK v2 code tuning Sub-task Resolved Steve Loughran   Actions
        8.
        AWS v2 SDK: stabilise dependencies with rest of hadoop libraries Sub-task Resolved Steve Loughran   Actions
        9.
        convert declarations of AWS v1 SDK EnvironmentVariableCredentialsProvider to v2 version Sub-task Resolved Unassigned   Actions
        10.
        AWS SDK V2 - ITestS3AHugeFilesNoMultipart failure Sub-task Resolved Steve Loughran   Actions
        11.
        s3a DelegationToken plugin to expand return type of deploy/binding Sub-task Resolved Steve Loughran   Actions
        12.
        LogExactlyOnce to add a debug() method Sub-task Resolved Steve Loughran   Actions
        13.
        list AWS SDK v2 libraries in LICENSE-binary Sub-task Resolved Steve Loughran   Actions
        14.
        Merge aws v2 upgrade feature branch into trunk Sub-task Resolved Steve Loughran   Actions
        15.
        AWS SDK v2 build complaints Sub-task Resolved Steve Loughran   Actions
        16.
        AWS SDK v2: make the v1 bridging support optional Sub-task Resolved Steve Loughran   Actions
        17.
        AWS SDK V2 - Upgrade SDK to 2.20.28 and restores multipart copy Sub-task Resolved Ahmar Suhail   Actions
        18.
        AWS SDK v2 typo in aws.evenstream.version Sub-task Resolved Ahmar Suhail   Actions
        19.
        AWS SDK V2 - AuditFailureExceptions aren't being translated properly Sub-task Resolved Steve Loughran   Actions

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ahmar Ahmar Suhail Assign to me
            xiaoweisun xiaowei sun
            Votes:
            3 Vote for this issue
            Watchers:
            14 Stop 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

              Slack

                Issue deployment