-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CELEBORN-1757] Add retry when sending RPC to LifecycleManager
### What changes were proposed in this pull request? Retry seding RPC to LifecycleManager when TimeoutException. ### Why are the changes needed? RPC messages are processed by `Dispatcher.threadpool` which its numThreads depends on `numUsableCores`. In some cases (k8s) the numThreads of LifecycleManager are not enough while the RPCs are a lot so there are TimeoutExceptions. Add retry when there are TimeoutExceptions. ### Does this PR introduce _any_ user-facing change? No. Another way is to adjust the configuration `celeborn.lifecycleManager.rpc.dispatcher.threads` to add the numThreads. This way is more affective. ### How was this patch tested? Cluster testing. Closes #3008 from zaynt4606/clb1757. Authored-by: zhengtao <[email protected]> Signed-off-by: Wang, Fei <[email protected]>
- Loading branch information
Showing
7 changed files
with
245 additions
and
64 deletions.
There are no files selected for viewing
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
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
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
Oops, something went wrong.