jiang13021 opened a new pull request, #2590:
URL: https://github.com/apache/celeborn/pull/2590
<!--
Thanks for sending a pull request! Here are some tips for you:
- Make sure the PR title start w/ a JIRA ticket, e.g. '[CELEBORN-XXXX]
Your PR title ...'.
- Be sure to keep the PR description updated to reflect all changes.
- Please write your PR title to summarize what this PR proposes.
- If possible, provide a concise example to reproduce the issue for a
faster review.
-->
### What changes were proposed in this pull request?
Add `ConcurrentHashMap<Integer, Exception> registerShuffleExceptions` in
ShuffleClientImpl to record register shuffle failed reason.
### Why are the changes needed?
There could be various reasons for a Register Shuffle failure, such as
SLOT_NOT_AVAILABLE, RESERVE_SLOTS_FAILED, and so on. However, the current
exceptions only indicate that a shuffle registration has failed without
providing details on the cause of the failure. We are unable to determine the
exact reason for the failure unless we check the LifecycleManager logs.
In this PR, the actual reason for a register shuffle failure is included in
the thrown exception.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
unit test:
org.apache.celeborn.client.ShuffleClientSuiteJ#testRegisterShuffleFailed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]