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

[ISSUE-328] Cleanup unused shuffle servers after stage completed #334

Merged
merged 2 commits into from
Nov 18, 2022

Conversation

xianjingfeng
Copy link
Member

What changes were proposed in this pull request?

Cleanup unused shuffle servers after stage completed

Why are the changes needed?

If there are many stages in one applicaiton, spark driver will send heartbeat to every shuffle servers, and it may cause app expired in shuffle server side. And if we support decommission in the future, it will cause shuffle difficult to exit. #328

Does this PR introduce any user-facing change?

No

How was this patch tested?

Added

@jerqi jerqi requested a review from zuston November 17, 2022 09:56
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.

Overall LGTM. Left some minor comments.

@codecov-commenter
Copy link

Codecov Report

Merging #334 (a017a9c) into master (87361da) will increase coverage by 0.08%.
The diff coverage is 71.42%.

@@             Coverage Diff              @@
##             master     #334      +/-   ##
============================================
+ Coverage     61.21%   61.30%   +0.08%     
- Complexity     1506     1519      +13     
============================================
  Files           185      185              
  Lines          9360     9440      +80     
  Branches        908      924      +16     
============================================
+ Hits           5730     5787      +57     
- Misses         3325     3343      +18     
- Partials        305      310       +5     
Impacted Files Coverage Δ
...he/uniffle/client/impl/ShuffleWriteClientImpl.java 30.14% <71.42%> (+8.91%) ⬆️
.../apache/uniffle/common/metrics/MetricsManager.java 68.42% <0.00%> (-17.30%) ⬇️
...org/apache/uniffle/common/metrics/GRPCMetrics.java 40.00% <0.00%> (-6.52%) ⬇️
...pache/uniffle/server/ShuffleServerGrpcService.java 0.83% <0.00%> (-0.04%) ⬇️
...pache/uniffle/server/ShuffleServerGrpcMetrics.java 100.00% <0.00%> (ø)
.../org/apache/uniffle/server/ShuffleTaskManager.java 77.23% <0.00%> (+0.17%) ⬆️
...he/uniffle/server/buffer/ShuffleBufferManager.java 82.60% <0.00%> (+0.79%) ⬆️

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

@jerqi jerqi changed the title [ISSUE-328]Cleanup unused shuffle servers after stage completed [ISSUE-328] Cleanup unused shuffle servers after stage completed Nov 17, 2022
@jerqi jerqi linked an issue Nov 17, 2022 that may be closed by this pull request
3 tasks
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. Thanks @xianjingfeng

Merged

@zuston zuston merged commit b98fcf2 into apache:master Nov 18, 2022
@xianjingfeng xianjingfeng deleted the issue_328 branch March 1, 2023 13:28
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] Cleanup unused shuffle servers after stage completed
3 participants