[ https://issues.apache.org/jira/browse/SPARK-11854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sam closed SPARK-11854. ----------------------- Tried to produce a minimal app to reproduce, couldn't, probably issue lies between keyboard and chair. I assumed it was a regression having seen this issue before with spark-submit, probably jumped the gun. > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org