forked from NVIDIA/spark-rapids
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shuffle/better error handling (NVIDIA#1121)
* Handle all errors by passing to the RapidsShuffleIterator and allowing it to create FetchFailed exceptions Signed-off-by: Alessandro Bellina <abellina@nvidia.com> * Remove log-then-throw * On server side, for now, we can at least return all buffers back to the catalog when tehre is an error Signed-off-by: Alessandro Bellina <abellina@nvidia.com> * Make the fetch failed exception include a cause, rather than add a suppressed exception * Use closeOnExcept * Update tests/src/test/scala/com/nvidia/spark/rapids/shuffle/RapidsShuffleIteratorSuite.scala Fix exception text Co-authored-by: Jason Lowe <jlowe@nvidia.com> Co-authored-by: Jason Lowe <jlowe@nvidia.com>
- Loading branch information
Showing
8 changed files
with
308 additions
and
205 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
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.