The exit code of spark-submit is still 0 in unix script when an yarn application fails The exit code of spark-submit is still 0 in unix script when an yarn application fails unix unix