[ https://issues.apache.org/jira/browse/HDDS-1054?focusedWorklogId=292707&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-292707 ]
ASF GitHub Bot logged work on HDDS-1054: ---------------------------------------- Author: ASF GitHub Bot Created on: 11/Aug/19 14:07 Start Date: 11/Aug/19 14:07 Worklog Time Spent: 10m Work Description: hadoop-yetus commented on pull request #1277: HDDS-1054. List Multipart uploads in a bucket URL: https://github.com/apache/hadoop/pull/1277#discussion_r312740496 ########## File path: hadoop-ozone/dist/src/main/smoketest/s3/MultipartUpload.robot ########## @@ -200,3 +200,24 @@ 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 list + ${result} = Execute AWSS3APICli create-multipart-upload --bucket ${BUCKET} --key listtest/key1 + ${uploadID1} = Execute and checkrc echo '${result}' | jq -r '.UploadId' 0 + Should contain ${result} ${BUCKET} + Should contain ${result} listtest/key1 + Should contain ${result} UploadId + + ${result} = Execute AWSS3APICli create-multipart-upload --bucket ${BUCKET} --key listtest/key2 + ${uploadID2} = Execute and checkrc echo '${result}' | jq -r '.UploadId' 0 + Should contain ${result} ${BUCKET} + Should contain ${result} listtest/key2 + Should contain ${result} UploadId + + ${result} = Execute AWSS3APICli list-multipart-uploads --bucket ${BUCKET} --prefix listtest + Should contain ${result} ${uploadID1} + Should contain ${result} ${uploadID2} + + ${count} = Execute and checkrc echo '${result}' | jq -r '.Uploads | length' 0 Review comment: whitespace:end of line ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 292707) Time Spent: 20m (was: 10m) > List Multipart uploads in a bucket > ---------------------------------- > > Key: HDDS-1054 > URL: https://issues.apache.org/jira/browse/HDDS-1054 > Project: Hadoop Distributed Data Store > Issue Type: Sub-task > Reporter: Bharat Viswanadham > Assignee: Elek, Marton > Priority: Blocker > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > This Jira is to implement in ozone to list of in-progress multipart uploads > in a bucket. > [https://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadListMPUpload.html] > -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org