forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-43242][CORE] Fix throw 'Unexpected type of BlockId' in shuffle…
… corruption diagnose ### What changes were proposed in this pull request? A minor bugfix in `ShuffleBlockFetcherIterator.diagnose`, which not handle type ShuffleBlockBatchId properly ### Why are the changes needed? `.diagnose()` is used in exception handling try-catch block, throw new exception due to type mismatch (in this case, `ShuffleBlockBatchId`) will swallow original exception stack ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing tests Closes apache#40921 from CavemanIV/SPARK-43242. Lead-authored-by: zhangliang <zhangliang@trip.com> Co-authored-by: sychen <sychen@ctrip.com> Signed-off-by: Yi Wu <yi.wu@databricks.com>
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 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