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

Xiangrui Meng commented on SPARK-1516:
--------------------------------------

PR for branch-0.9: https://github.com/apache/spark/pull/1099

> Yarn Client should not call System.exit, should throw exception instead.
> ------------------------------------------------------------------------
>
>                 Key: SPARK-1516
>                 URL: https://issues.apache.org/jira/browse/SPARK-1516
>             Project: Spark
>          Issue Type: Improvement
>          Components: Deploy
>            Reporter: DB Tsai
>             Fix For: 0.9.2, 1.0.1
>
>
> People submit spark job inside their application to yarn cluster using spark 
> yarn client, and it's not desirable to call System.exit in yarn client which 
> will terminate the parent application as well.
> We should throw exception instead, and people can determine which action they 
> want to take given the exception.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to