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:10:00 UTC

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

     [ https://issues.apache.org/jira/browse/SPARK-28658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

deshanxiao updated SPARK-28658:
-------------------------------
    Description: 
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. Maybe we can use a clearer state not a "success".



  was:
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.



>  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
>            Priority: Major
>
> 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. Maybe we can use a clearer state not a "success".



--
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