hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-16190) S3A copyFile operation to include source versionID or etag in the copy request
Date Thu, 14 Mar 2019 14:49:00 GMT
Steve Loughran created HADOOP-16190:
---------------------------------------

             Summary: S3A copyFile operation to include source versionID or etag in the copy
request
                 Key: HADOOP-16190
                 URL: https://issues.apache.org/jira/browse/HADOOP-16190
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/s3
    Affects Versions: 3.2.0
            Reporter: Steve Loughran


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message