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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.9.2, 3.0.3
    • None
    • fs/s3
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: