Description
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.
Attachments
Issue Links
- breaks
-
SPARK-19649 Spark YARN client throws exception if job succeeds and max-completed-applications=0
- Resolved
- is cloned by
-
SPARK-11854 The exit code of spark-submit is still 0 when an yarn application fails
- Closed
- is duplicated by
-
SPARK-11854 The exit code of spark-submit is still 0 when an yarn application fails
- Closed
- links to