Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s3 multipart upload something has issue #628

Closed
cometta opened this issue Jul 7, 2021 · 2 comments · Fixed by #785
Closed

s3 multipart upload something has issue #628

cometta opened this issue Jul 7, 2021 · 2 comments · Fixed by #785

Comments

@cometta
Copy link

cometta commented Jul 7, 2021

Problem description

i tested with open("s3://","wb") to upload many files each one with size above 400mb into s3. Sometime it fail with below error
botocore.exceptions.ClientError: An error occurred (NoSuchUpload) when calling the CompleteMultipartUpload operation: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed

and if i reupload it, it will be successful. Anyone else experience this? It only happen for multipart files, if the file is small size then no issue at all.

i'm using smart_open[all]==4.2.0

@mpenkov
Copy link
Collaborator

mpenkov commented Jul 7, 2021

Please post a reproducible example. Without it, we can't help you.

@ddelange
Copy link
Contributor

We also encounter this error very rarely after 100k+ sequential writes to s3. Fix seems to retry completing the multipart upload when this error occurs: peak/s5cmd#470

botocore.errorfactory.NoSuchUpload: An error occurred (NoSuchUpload) when calling the CompleteMultipartUpload op eration: The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted  or completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants