Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-44542][CORE] Eagerly load SparkExitCode class in exception han…
…dler ### What changes were proposed in this pull request? 1. eagerly load SparkExitCode class in the the SparkUncaughtExceptionHandler ### Why are the changes needed? In some extreme case, it's possible for SparkUncaughtExceptionHandler's exit/halt process function calls throw an exception if the SparkExitCode is not loaded earlier, See corresponding jira: [SPARK-44542](https://issues.apache.org/jira/browse/SPARK-44542) for more details. By eagerly load SparkExitCode class, we can make sure at least the halt/exit would work properly. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? No logic change, hence no new UTs. Closes #42195 from advancedxy/SPARK-44542. Authored-by: Xianjin <[email protected]> Signed-off-by: Sean Owen <[email protected]>
- Loading branch information