Skip to content

Commit dad7ea2

Browse files
committed
changed or to and
1 parent a3343de commit dad7ea2

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/k8s/submit/LoggingPodStatusWatcher.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private[k8s] class LoggingPodStatusWatcherImpl(conf: KubernetesDriverConf)
9696
logInfo(s"Waiting for application ${conf.appName} with submission ID $sId to finish...")
9797
val interval = conf.get(REPORT_INTERVAL)
9898
synchronized {
99-
while (!podCompleted || !resourceToOldReceived) {
99+
while (!podCompleted && !resourceToOldReceived) {
100100
wait(interval)
101101
logInfo(s"Application status for $appId (phase: $phase)")
102102
}

0 commit comments

Comments
 (0)