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

[#1100] improvement(mr): Fail fast in SortWriteBufferManager when failed to send shuffle data to shuffle server. #1103

Merged

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: #1100

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Add more test cases.

@jerqi jerqi changed the title [#1100] improvement(tez): Fail fast in SortWriteBufferManager when failed to send shuffle data to shuffle server. [#1100] improvement(mr): Fail fast in SortWriteBufferManager when failed to send shuffle data to shuffle server. Aug 6, 2023
@codecov-commenter
Copy link

codecov-commenter commented Aug 6, 2023

Codecov Report

Merging #1103 (18574be) into master (1e4804b) will increase coverage by 1.11%.
Report is 3 commits behind head on master.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1103      +/-   ##
============================================
+ Coverage     54.22%   55.33%   +1.11%     
+ Complexity     2553     2542      -11     
============================================
  Files           386      366      -20     
  Lines         21871    19522    -2349     
  Branches       1812     1811       -1     
============================================
- Hits          11860    10803    -1057     
+ Misses         9312     8091    -1221     
+ Partials        699      628      -71     
Files Changed Coverage Δ
...g/apache/hadoop/mapred/SortWriteBufferManager.java 92.57% <100.00%> (+2.62%) ⬆️

... and 33 files with indirect coverage changes

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

Copy link
Contributor

@jerqi jerqi left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @zhuyaogai , merged to master.

@jerqi jerqi merged commit dbb9890 into apache:master Aug 6, 2023
30 checks passed
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.

[Improvement] [MR] Fail fast in WriteBufferManager when failed to send shuffle data to shuffle server.
3 participants