advancedxy opened a new pull request, #42195:
URL: https://github.com/apache/spark/pull/42195

   ### 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.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to