apache/spark — pull request #3421 by CodEnFisH (2014-11-23 17:34:33+00:00)
Title: remove duplicated code in DAGScheduler

A simple code optimization.

After the DAGScheduler figures out new runnable stages, it adds them twice: one (line 1040) before calling submitMissingTasks() and one inside the submitMissingTasks() (line 814).
We can just remove the first one.