You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2018/09/20 07:25:00 UTC
[jira] [Created] (HDDS-516) Implement CopyObject REST endpoint
Elek, Marton created HDDS-516:
---------------------------------
Summary: Implement CopyObject REST endpoint
Key: HDDS-516
URL: https://issues.apache.org/jira/browse/HDDS-516
Project: Hadoop Distributed Data Store
Issue Type: Sub-task
Reporter: Elek, Marton
The Copy object is a simple call to Ozone Manager. This API can only be done after the PUT OBJECT Call.
This implementation of the PUT operation creates a copy of an object that is already stored in Amazon S3. A PUT copy operation is the same as performing a GET and then a PUT. Adding the request header, x-amz-copy-source, makes the PUT operation copy the source object into the destination bucket.
If the Put Object call has this header, then Put Object call will issue a rename.
Work Items or JIRAs
Detect the presence of the extra header - x-amz-copy-source
Make sure that destination bucket exists.
The AWS reference is here:
https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html
(This jira is marked as newbie as it requires only basic Ozone knowledge. If somebody would be interested, I can be more specific, explain what we need or help).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org