[ https://issues.apache.org/jira/browse/SPARK-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14180628#comment-14180628 ]
Apache Spark commented on SPARK-3877: ------------------------------------- User 'zsxwing' has created a pull request for this issue: https://github.com/apache/spark/pull/2748 > 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.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org