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

[feature] support shuffle read with retry when facing IO error. #738

Merged
merged 6 commits into from
Apr 21, 2023

Conversation

Ted-Jiang
Copy link
Member

Which issue does this PR close?

Closes #737 .

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

let res = match result {
Ok(res) => res,
Err(ref err) => {
// IO related error like connection timeout, reset... will warp with Code::Unknown
Copy link
Member Author

@Ted-Jiang Ted-Jiang Apr 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ConnectionReset need retry use Unknown type

(Execution("FetchFailed(\"127.0.0.1\", \"37258e22-f50e-482b-9c0d-d1e84b83d5e5\", 3, 2, \"Status { code: Unknown, message: \\\"transport error\\\", source: Some(tonic::transport::Error(Transport, hyper::Error(Io, Kind(ConnectionReset)))) }\")"))

NotSuchFile use Internal

DataFusion error: ArrowError(ExternalError("Arrow error: External error: Shuffle fetch partition error from Executor 127.0.0. : ff16a886-ca14-4a1b-bdc3-560c6adf699c, map_stage 2, map_partition 18, error desc: Status { code: Internal, message: \"Ballista Error: General(\\\"Failed to open partition file at /home

@Ted-Jiang Ted-Jiang merged commit 47718d8 into apache:main Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature] support shuffle read with retry when facing IO error.
2 participants