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

[#1068] improvement(tez): Fail fast in WriteBufferManager when failed to send shuffle data to shuffle sever. #1069

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

zhuyaogai
Copy link
Contributor

What changes were proposed in this pull request?

Currently, it only checks for blocks that failed to send after all buffer data has been sent. This check also needs to be moved forward into the addRecord method, allowing it to fail fast.

Why are the changes needed?

Fix: # (1068)

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Add more test case in WriteBufferManager.

@codecov-commenter
Copy link

codecov-commenter commented Aug 2, 2023

Codecov Report

Merging #1069 (86a3c2a) into master (d149d57) will increase coverage by 1.23%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1069      +/-   ##
============================================
+ Coverage     54.20%   55.43%   +1.23%     
- Complexity     2550     2552       +2     
============================================
  Files           386      366      -20     
  Lines         21867    19510    -2357     
  Branches       1813     1812       -1     
============================================
- Hits          11852    10816    -1036     
+ Misses         9315     8066    -1249     
+ Partials        700      628      -72     
Files Changed Coverage Δ
...library/common/sort/buffer/WriteBufferManager.java 89.35% <100.00%> (+2.49%) ⬆️

... and 20 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jerqi
Copy link
Contributor

jerqi commented Aug 2, 2023

Could you correct your title?

@zhuyaogai zhuyaogai changed the title Fail fast in WriteBufferManager when failed to send shuffle data to s… [#1068] improvement(tez): Fail fast in WriteBufferManager when failed to send shuffle data to s… Aug 2, 2023
@zhuyaogai zhuyaogai changed the title [#1068] improvement(tez): Fail fast in WriteBufferManager when failed to send shuffle data to s… [#1068] improvement(tez): Fail fast in WriteBufferManager when failed to send shuffle data to shuffle sever. Aug 2, 2023
@zhuyaogai
Copy link
Contributor Author

Could you correct your title?

done.

@jerqi
Copy link
Contributor

jerqi commented Aug 2, 2023

@zhengchenyu Could you help me review this pr?

Copy link
Member

@zuston zuston left a comment

Choose a reason for hiding this comment

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

LGTM. This is meaningful like Spark uniffle client did

@zhengchenyu
Copy link
Collaborator

LGTM +1

@zuston zuston merged commit 1e4804b into apache:master Aug 3, 2023
30 checks passed
@zuston
Copy link
Member

zuston commented Aug 3, 2023

Thanks @zhuyaogai and @zhengchenyu review. Merged

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.

None yet

5 participants