hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (HDDS-1942) Support copy during S3 multipart upload part creation
Date Thu, 15 Aug 2019 23:18:00 GMT

     [ https://issues.apache.org/jira/browse/HDDS-1942?focusedWorklogId=295866&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-295866

ASF GitHub Bot logged work on HDDS-1942:

                Author: ASF GitHub Bot
            Created on: 15/Aug/19 23:17
            Start Date: 15/Aug/19 23:17
    Worklog Time Spent: 10m 
      Work Description: bharatviswa504 commented on pull request #1279: HDDS-1942. Support
copy during S3 multipart upload part creation
URL: https://github.com/apache/hadoop/pull/1279#discussion_r314534545

 File path: hadoop-ozone/dist/src/main/smoketest/s3/MultipartUpload.robot
 @@ -200,3 +200,26 @@ Test Multipart Upload with the simplified aws s3 cp API
                         Execute AWSS3Cli        cp s3://${BUCKET}/mpyawscli /tmp/part1.result
                         Execute AWSS3Cli        rm s3://${BUCKET}/mpyawscli
                         Compare files           /tmp/part1        /tmp/part1.result
+Test Multipart Upload Put With Copy
+    Run Keyword         Create Random file      5
+    ${result} =         Execute AWSS3APICli     put-object --bucket ${BUCKET} --key copytest/source
--body /tmp/part1
+    ${result} =         Execute AWSS3APICli     create-multipart-upload --bucket ${BUCKET}
--key copytest/destination
+    ${uploadID} =       Execute and checkrc      echo '${result}' | jq -r '.UploadId'   
+                        Should contain           ${result}    ${BUCKET}
+                        Should contain           ${result}    UploadId
+    ${result} =         Execute AWSS3APICli      upload-part-copy --bucket ${BUCKET} --key
copytest/destination --upload-id ${uploadID} --part-number 1 --copy-source ${BUCKET}/copytest/source
+                        Should contain           ${result}    ${BUCKET}
 Review comment:
   Can we add an example of part copy with byte-range also.
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 295866)
    Time Spent: 50m  (was: 40m)

> Support copy during S3 multipart upload part creation
> -----------------------------------------------------
>                 Key: HDDS-1942
>                 URL: https://issues.apache.org/jira/browse/HDDS-1942
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>          Components: S3
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Blocker
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
> Uploads a part by copying data from an existing object as data source
> Documented here:
> https://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadUploadPartCopy.html

This message was sent by Atlassian JIRA

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

View raw message