Skip to content

Commit 84315a6

Browse files
varunkattaash211
authored andcommitted
Shutdown the thread scheduler in LoggingPodStatusWatcher on receiving job finish event notifications (apache-spark-on-k8s#121)
1 parent ce5e015 commit 84315a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/kubernetes/LoggingPodStatusWatcher.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ private[kubernetes] class LoggingPodStatusWatcher(podCompletedFuture: CountDownL
6464

6565
if (phase == "Succeeded" || phase == "Failed") {
6666
podCompletedFuture.countDown()
67+
scheduler.shutdown()
6768
}
6869
}
6970

0 commit comments

Comments
 (0)