You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:03:07 UTC

[jira] [Updated] (SPARK-21761) [Core] Add the application's final state for SparkListenerApplicationEnd event

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

Hyukjin Kwon updated SPARK-21761:
---------------------------------
    Labels: bulk-closed  (was: )

> [Core] Add the application's final state for SparkListenerApplicationEnd event
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-21761
>                 URL: https://issues.apache.org/jira/browse/SPARK-21761
>             Project: Spark
>          Issue Type: Wish
>          Components: Spark Core
>    Affects Versions: 2.1.1
>            Reporter: ShuMing Li
>            Priority: Minor
>              Labels: bulk-closed
>
> When add an extra `SparkListener`, we want to get the application's final state which I think is necessary to record. Maybe we can change `SparkListenerApplicationEnd` as below:
> {code:java}
> case class SparkListenerApplicationEnd(time: Long, sparkUser: String) extends SparkListenerEvent
> import org.apache.spark.launcher.SparkAppHandle.State
> case class SparkListenerApplicationEnd(time: Long, sparkUser: String, status: State) extends SparkListenerEvent
> {code}
> Of course, we should add some implements to this change for different deployed mode. Can someone give me some advice?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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