[ 
https://issues.apache.org/jira/browse/BEAM-14011?focusedWorklogId=735397&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-735397
 ]

ASF GitHub Bot logged work on BEAM-14011:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Mar/22 16:46
            Start Date: 02/Mar/22 16:46
    Worklog Time Spent: 10m 
      Work Description: spatel11 commented on a change in pull request #16987:
URL: https://github.com/apache/beam/pull/16987#discussion_r817889943



##########
File path: CHANGES.md
##########
@@ -116,6 +116,8 @@
 
 ## Bugfixes
 
+* Fix S3 copy for large objects 
([BEAM-14011](https://issues.apache.org/jira/browse/BEAM-14011))

Review comment:
       This is for beam 2.37, which as I understand it is already cut/in 
progress.  So this will have to move to the 2.38 section




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 735397)
    Time Spent: 40m  (was: 0.5h)

> AWS SDK2 S3FileSystem MultiPart Copy sets incorrect request parameters
> ----------------------------------------------------------------------
>
>                 Key: BEAM-14011
>                 URL: https://issues.apache.org/jira/browse/BEAM-14011
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-aws
>    Affects Versions: 2.29.0, 2.30.0, 2.31.0, 2.32.0, 2.33.0, 2.34.0, 2.35.0, 
> 2.36.0
>            Reporter: Stephen Patel
>            Assignee: Stephen Patel
>            Priority: P2
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> The following code locations use incorrect parameters:
> [Here|https://github.com/apache/beam/blob/v2.36.0/sdks/java/io/amazon-web-services2/src/main/java/org/apache/beam/sdk/io/aws2/s3/S3FileSystem.java#L518-L519]
>  and 
> [Here|https://github.com/apache/beam/blob/v2.36.0/sdks/java/io/amazon-web-services2/src/main/java/org/apache/beam/sdk/io/aws2/s3/S3FileSystem.java#L539-L540]
>  specifies the sourcePath instead of the destinationPath.
> [Here|https://github.com/apache/beam/blob/v2.36.0/sdks/java/io/amazon-web-services2/src/main/java/org/apache/beam/sdk/io/aws2/s3/S3FileSystem.java#L541]
>  specifies destinationPath.getBucket() instead of sourcePath.getBucket()
> [Here|https://github.com/apache/beam/blob/v2.36.0/sdks/java/io/amazon-web-services2/src/main/java/org/apache/beam/sdk/io/aws2/s3/S3FileSystem.java#L556]
>  specifies a constant part number of 1, instead of using the partNumber 
> variable.
> Taken together, these issues cause multipart copies to fail due to:
> {noformat}
> software.amazon.awssdk.services.s3.model.NoSuchUploadException: The specified 
> upload does not exist. The upload ID may be invalid, or the upload may have 
> been aborted or completed.
> {noformat}
> If the object references are fixes, the part number issue causes multipart 
> copies to fail due to:
> {noformat}
> software.amazon.awssdk.services.s3.model.S3Exception: The list of parts was 
> not in ascending order. Parts must be ordered by part number. 
> {noformat}
> Note: I checked the AWS SDK1 S3FileSystem and did not see the same issues.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to