You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2017/05/17 13:39:04 UTC

[jira] [Resolved] (SPARK-19379) SparkAppHandle.getState not registering FAILED state upon Spark app failure in Local mode

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

Sean Owen resolved SPARK-19379.
-------------------------------
    Resolution: Won't Fix

> SparkAppHandle.getState not registering FAILED state upon Spark app failure in Local mode
> -----------------------------------------------------------------------------------------
>
>                 Key: SPARK-19379
>                 URL: https://issues.apache.org/jira/browse/SPARK-19379
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.0.1, 2.1.0
>            Reporter: Adam Kramer
>            Priority: Minor
>
> LocalSchedulerBackend does not handle calling back to the Launcher upon TaskState change. It does send a callback to setState to FINISHED upon stop(). Apps that are FAILED are set as FINISHED in SparkAppHandle.State.
> It looks like a case statement is needed in the statusUpdate() method in LocalSchedulerBacked to call stop( state) or  launcherBackend.setState(state) with the appropriate SparkAppHandle.State for TaskStates FAILED, LAUNCHING, and, possibly, FINISHED.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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