GitHub user kayousterhout opened a pull request:

    https://github.com/apache/spark/pull/1566

    [SPARK-1726] [SPARK-2567] Eliminate zombie stages in UI.

    Due to problems with when we update runningStages (in DAGScheduler.scala)
    and how we decide to send a SparkListenerStageCompleted message to
    SparkListeners, sometimes stages can be shown as "running" in the UI forever
    (even after they have failed).  This issue can manifest when stages are
    resubmitted with 0 tasks, or when the DAGScheduler catches non-serializable
    tasks. The problem also resulted in a (small) memory leak in the 
DAGScheduler,
    where stages can stay in runningStages forever. This commit fixes
    that problem and adds a unit test.
    
    Thanks @tsudukim for helping to look into this issue!
    
    cc @markhamstra @rxin

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kayousterhout/spark-1 dag_fix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/1566.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1566
    
----
commit 217d74b45d8d34e6a030c08fc609213a7cf8130e
Author: Kay Ousterhout <[email protected]>
Date:   2014-07-24T03:17:09Z

    [SPARK-1726] [SPARK-2567] Eliminate zombie stages in UI.
    
    Due to problems with when we update runningStages (in DAGScheduler.scala)
    and how we decide to send a SparkListenerStageCompleted message to
    SparkListeners, somtimes stages can be shown as "running" in the UI forever
    (even after they have failed).  This issue can manifest when stages are
    resubmitted with 0 tasks, or when the DAGScheduler catches non-serializable
    tasks. The problem also resulted in a (small) memory leak in the 
DAGScheduler,
    where stages can stay in runningStages forever. This commit fixes
    that problem and adds a unit test.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to