You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Ismaël Mejía (JIRA)" <ji...@apache.org> on 2018/02/15 15:54:00 UTC
[jira] [Updated] (BEAM-3638) S3 occasionally fails to delete
[ https://issues.apache.org/jira/browse/BEAM-3638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismaël Mejía updated BEAM-3638:
-------------------------------
Fix Version/s: (was: 2.3.0)
Not applicable
> S3 occasionally fails to delete
> -------------------------------
>
> Key: BEAM-3638
> URL: https://issues.apache.org/jira/browse/BEAM-3638
> Project: Beam
> Issue Type: Bug
> Components: z-do-not-use-sdk-java-extensions
> Affects Versions: 2.3.0
> Reporter: Jacob Marble
> Assignee: Jacob Marble
> Priority: Critical
> Fix For: Not applicable
>
>
> When AmazonS3Client.deleteObjects() is called, the S3 service occasionally returns a retryable error, and also deletes the object. Beam retries the request, and the S3 service correctly returns a "404 Not Found" error. The job fails needlessly.
> I propose to fix this by logging and allowing "404 Not Found" errors; if the object doesn't exist then the current state is also the desired state. Should have a PR later today.
> The first error looks like this:
> {{java.io.IOException: com.amazonaws.services.s3.model.MultiObjectDeleteException: One or more objects could not be deleted (Service: null; Status Code: 200; Error Code: null; Request ID: [redacted]; S3 Extended Request ID: [redacted]), S3 Extended Request ID: [redacted]}}
> Subsequent errors:
> {{java.io.IOException: com.amazonaws.services.s3.model.AmazonS3Exception: Not Found (Service: Amazon S3; Status Code: 404; Error Code: 404 Not Found; Request ID: [redacted]; S3 Extended Request ID: [redacted]), S3 Extended Request ID: [redacted]}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)