[ https://issues.apache.org/jira/browse/SPARK-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165124#comment-14165124 ]
Thomas Graves commented on SPARK-3877: -------------------------------------- this looks like a dup of SPARK-2167. Or actually perhaps a subset of that since I think you only handle the yarn mode. Does this cover both client and cluster mode? > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org