Skip to content

Commit a0b0881

Browse files
author
Marcelo Vanzin
committed
Stop alloc manager before scheduler.
1 parent 5545d83 commit a0b0881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/SparkContext.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,11 +1402,11 @@ class SparkContext(config: SparkConf) extends Logging with ExecutorAllocationCli
14021402
env.metricsSystem.report()
14031403
metadataCleaner.cancel()
14041404
cleaner.foreach(_.stop())
1405+
executorAllocationManager.foreach(_.stop())
14051406
dagScheduler.stop()
14061407
dagScheduler = null
14071408
listenerBus.stop()
14081409
eventLogger.foreach(_.stop())
1409-
executorAllocationManager.foreach(_.stop())
14101410
env.actorSystem.stop(heartbeatReceiver)
14111411
progressBar.foreach(_.stop())
14121412
taskScheduler = null

0 commit comments

Comments
 (0)