srowen commented on issue #25785: [SPARK-27812][CORE] Explicit System.exit 
after job's main
URL: https://github.com/apache/spark/pull/25785#issuecomment-531484404
 
 
   Wait, shutdown hooks definitely run when the JVM terminates, unless it is 
forcibly killed or crashes. I am not sure this is the issue. You don't want to 
remove a call to stop(); it is necessary. If your app creates non-daemon 
threads, it has to ensure they terminate or else indeed any Java application 
won't stop after main() exits in that case.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to