Skip to content

Commit

Permalink
[Data] Add AWS Error UNKNOWN to list of retried write errors (#46646)
Browse files Browse the repository at this point in the history
When writing Parquet files to S3, you might see a transient error like this:

```
AWS Error UNKNOWN (HTTP status 503) during CreateMultipartUpload operation: No response body
```

Currently, this error isn't retried, and your program crashes.

Signed-off-by: Balaji Veeramani <[email protected]>
  • Loading branch information
bveeramani authored Jul 16, 2024
1 parent 2968eae commit 6425477
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/ray/data/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"AWS Error INTERNAL_FAILURE",
"AWS Error NETWORK_CONNECTION",
"AWS Error SLOW_DOWN",
"AWS Error UNKNOWN (HTTP status 503)",
)

DEFAULT_WARN_ON_DRIVER_MEMORY_USAGE_BYTES = 2 * 1024 * 1024 * 1024
Expand Down

0 comments on commit 6425477

Please sign in to comment.