You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jaromir Vanek (JIRA)" <ji...@apache.org> on 2015/11/06 13:14:27 UTC

[jira] [Commented] (SPARK-10911) Executors should System.exit on clean shutdown

    [ https://issues.apache.org/jira/browse/SPARK-10911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14993565#comment-14993565 ] 

Jaromir Vanek commented on SPARK-10911:
---------------------------------------

I also came across this problem. Is there anything that would spark against explicit calling {{System.exit(0)}} in the {{CoarseGrainedExecutorBackend#main}} method?

> Executors should System.exit on clean shutdown
> ----------------------------------------------
>
>                 Key: SPARK-10911
>                 URL: https://issues.apache.org/jira/browse/SPARK-10911
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.5.1
>            Reporter: Thomas Graves
>
> Executors should call System.exit on clean shutdown to make sure all user threads exit and jvm shuts down.
> We ran into a case where an Executor was left around for days trying to shutdown because the user code was using a non-daemon thread pool and one of those threads wasn't exiting.  We should force the jvm to go away with System.exit.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org