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

   ### What changes were proposed in this pull request?
   Currently when we run client mode SparkSubmit, when we catch exception 
during `runMain()`
   It just calls `sc.stop()`,  then AM still exit with code 0.
   
   This pr fixes this issue.
   
   ### Why are the changes needed?
   Keep the same exit code between client and AM
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   
   


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