diff options
author | Aaron Davidson <aaron@databricks.com> | 2014-07-16 14:16:48 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-07-16 14:16:57 -0700 |
commit | 0b0b8954c78a00c6c799d4e058f0bc119aaed51c (patch) | |
tree | 5e20cedcdf5050e0acdd70d7abf3ff7b10f557a9 /core | |
parent | 91e7a71c68eb9ff0738c21bc7525fa89bd662993 (diff) | |
download | spark-0b0b8954c78a00c6c799d4e058f0bc119aaed51c.tar.gz spark-0b0b8954c78a00c6c799d4e058f0bc119aaed51c.tar.bz2 spark-0b0b8954c78a00c6c799d4e058f0bc119aaed51c.zip |
[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)
(cherry picked from commit 9c249743eaabe5fc8d961c7aa581cc0197f6e950)
Signed-off-by: Patrick Wendell <pwendell@gmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/scala/org/apache/spark/deploy/master/Master.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/scala/org/apache/spark/deploy/master/Master.scala b/core/src/main/scala/org/apache/spark/deploy/master/Master.scala index 4ed4827dac..f4f7f548e7 100644 --- a/core/src/main/scala/org/apache/spark/deploy/master/Master.scala +++ b/core/src/main/scala/org/apache/spark/deploy/master/Master.scala @@ -749,6 +749,7 @@ private[spark] class Master( driver.state = finalState driver.exception = exception driver.worker.foreach(w => w.removeDriver(driver)) + schedule() case None => logWarning(s"Asked to remove unknown driver: $driverId") } |