-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
[SPARK-40778][CORE] Make HeartbeatReceiver as an IsolatedRpcEndpoint #38231
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6138bc6
to
f1dbd2a
Compare
Can one of the admins verify this patch? |
Gentle ping, @warrenzhu25 |
Thanks for gentle ping. Updated |
dongjoon-hyun
approved these changes
Oct 19, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @cloud-fan , too. |
cloud-fan
approved these changes
Oct 19, 2022
cc @jiangxb1987 |
9b0e62c
to
0390cd9
Compare
mridulm
approved these changes
Oct 19, 2022
Thank you, @warrenzhu25 , @mridulm , @cloud-fan . |
SandishKumarHN
pushed a commit
to SandishKumarHN/spark
that referenced
this pull request
Dec 12, 2022
### What changes were proposed in this pull request? Make HeartbeatReceiver as an IsolatedRpcEndpoint then it has dedicated single thread to process heartbeats. ### Why are the changes needed? All RpcEndpoint including HeartbeatReceiver in driver are sharing one thread pool. When there're lots of rpc messages queued, the waiting process time of heartbeat time could easily exceed heartbeat timeout, which generates lots of false positive. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Manually tested. Closes apache#38231 from warrenzhu25/heartbeat. Authored-by: Warren Zhu <warren.zhu25@gmail.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
sunchao
pushed a commit
to sunchao/spark
that referenced
this pull request
Jun 2, 2023
### What changes were proposed in this pull request? Make HeartbeatReceiver as an IsolatedRpcEndpoint then it has dedicated single thread to process heartbeats. ### Why are the changes needed? All RpcEndpoint including HeartbeatReceiver in driver are sharing one thread pool. When there're lots of rpc messages queued, the waiting process time of heartbeat time could easily exceed heartbeat timeout, which generates lots of false positive. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Manually tested. Closes apache#38231 from warrenzhu25/heartbeat. Authored-by: Warren Zhu <warren.zhu25@gmail.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 89a3129) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 6fad2e1) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Make HeartbeatReceiver as an IsolatedRpcEndpoint then it has dedicated single thread to process heartbeats.
Why are the changes needed?
All RpcEndpoint including HeartbeatReceiver in driver are sharing one thread pool. When there're lots of rpc messages queued, the waiting process time of heartbeat time could easily exceed heartbeat timeout, which generates lots of false positive.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Manually tested.