Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Commit bb1b234

Browse files
kimoonkimerikerlandson
authored andcommitted
Fix client to await the driver pod (#325)
1 parent 5e2b205 commit bb1b234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ private[kubernetes] class LoggingPodStatusWatcherImpl(
137137
}
138138

139139
override def awaitCompletion(): Unit = {
140-
podCompletedFuture.countDown()
140+
podCompletedFuture.await()
141141
logInfo(pod.map { p =>
142142
s"Container final statuses:\n\n${containersDescription(p)}"
143143
}.getOrElse("No containers were found in the driver pod."))

0 commit comments

Comments
 (0)