You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "deshanxiao (JIRA)" <ji...@apache.org> on 2019/08/08 10:08:00 UTC

[jira] [Created] (SPARK-28658) Yarn FinalStatus is always "success" in yarn-client mode

deshanxiao created SPARK-28658:
----------------------------------

             Summary:  Yarn FinalStatus is always "success"  in yarn-client mode
                 Key: SPARK-28658
                 URL: https://issues.apache.org/jira/browse/SPARK-28658
             Project: Spark
          Issue Type: Improvement
          Components: YARN
    Affects Versions: 3.0.0
            Reporter: deshanxiao


In yarn-client mode,  the finalStatus of application will always be success because the ApplicationMaster returns success when the driver disconnected.

A simple examle is that:


{code:java}
sc.parallelize(Seq(1, 3, 4, 5)).map(x => x / 0).collect
{code}

When we run the code in yarn-client mode, the finalStatus will be success. It misleads us.




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org