Skip to content
Snippets Groups Projects
Commit 9c249743 authored by Aaron Davidson's avatar Aaron Davidson Committed by Patrick Wendell
Browse files

[SPARK-2154] Schedule next Driver when one completes (standalone mode)

Author: Aaron Davidson <aaron@databricks.com>

Closes #1405 from aarondav/2154 and squashes the following commits:

24e9ef9 [Aaron Davidson] [SPARK-2154] Schedule next Driver when one completes (standalone mode)
parent 8867cd0b
No related branches found
No related tags found
No related merge requests found
...@@ -751,6 +751,7 @@ private[spark] class Master( ...@@ -751,6 +751,7 @@ private[spark] class Master(
driver.state = finalState driver.state = finalState
driver.exception = exception driver.exception = exception
driver.worker.foreach(w => w.removeDriver(driver)) driver.worker.foreach(w => w.removeDriver(driver))
schedule()
case None => case None =>
logWarning(s"Asked to remove unknown driver: $driverId") logWarning(s"Asked to remove unknown driver: $driverId")
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment