You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joshua Caplan (JIRA)" <ji...@apache.org> on 2017/02/17 23:21:44 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=15872720#comment-15872720 ] 

Joshua Caplan commented on SPARK-3877:
--------------------------------------

Done, as SPARK-19649 .

> 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
>    Affects Versions: 1.1.0
>            Reporter: Shixiong Zhu
>            Assignee: Shixiong Zhu
>              Labels: yarn
>             Fix For: 1.1.1, 1.2.0
>
>
> 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.15#6346)

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