Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15620 Über-jira: S3A phase VI: Hadoop 3.3 features
  3. HADOOP-16190

S3A copyFile operation to include source versionID or etag in the copy request

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.9.2, 3.0.3
    • Fix Version/s: None
    • Component/s: fs/s3
    • Labels:
      None

      Description

      The S3 CopyObjectRequest structure used to build a copy request takes, optionally

      • a version ID of the source file
      • the etag of the source file

      using these will guarantee that the source file is copied exactly once

      1. When working with S3Guard in auth mode, and the etag/version are kept in the DDB table, that should be the authoritative source of metadata: fail fast if the file is out of date
      2. And when non-auth mode is used, the getObjectMetadata check made should update the s3guard table if needed.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              stevel@apache.org Steve Loughran
              Reporter:
              stevel@apache.org Steve Loughran

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment