[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to