You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2014/10/09 13:00:41 UTC

[jira] [Commented] (SPARK-3877) The exit code of spark-submit is still 0 when an yarn application fails

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

Apache Spark commented on SPARK-3877:
-------------------------------------

User 'zsxwing' has created a pull request for this issue:
https://github.com/apache/spark/pull/2732

> The exit code of spark-submit is still 0 when an yarn application fails
> -----------------------------------------------------------------------
>
>                 Key: SPARK-3877
>                 URL: https://issues.apache.org/jira/browse/SPARK-3877
>             Project: Spark
>          Issue Type: Bug
>          Components: YARN
>            Reporter: Shixiong Zhu
>            Priority: Minor
>              Labels: yarn
>
> When an yarn application fails (yarn-cluster mode), the exit code of spark-submit is still 0. It's hard for people to write some automatic scripts to run spark jobs in yarn because the failure can not be detected in these scripts.



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