[
https://issues.apache.org/jira/browse/SPARK-11854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen resolved SPARK-11854.
-------------------------------
Resolution: Duplicate
@sam in general don't copy issues; comment or reopen an existing one if you
need to. However i'm not clear how to reproduce this? I observe spark-submit
fails with non-zero exit as expected.
> The exit code of spark-submit is still 0 when an yarn application fails
> -----------------------------------------------------------------------
>
> Key: SPARK-11854
> URL: https://issues.apache.org/jira/browse/SPARK-11854
> Project: Spark
> Issue Type: Bug
> Components: YARN
> Affects Versions: 1.5.1
> Reporter: sam
> Assignee: Shixiong Zhu
> Labels: yarn
>
> When an yarn application fails (-yarn-cluster- yarn-client 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: [email protected]
For additional commands, e-mail: [email protected]