diff --git a/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationOperation.scala b/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationOperation.scala index 93236fa68b9..69791cce78d 100644 --- a/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationOperation.scala +++ b/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationOperation.scala @@ -111,7 +111,7 @@ class KubernetesApplicationOperation extends ApplicationOperation with Logging { val info = appInfoStore.getOrDefault(tag, ApplicationInfo.notFound) info.state match { // Kyuubi should wait second if pod is not be created - case NOT_FOUND & submitTime.nonEmpty => + case NOT_FOUND if submitTime.nonEmpty => val elapsedTime = System.currentTimeMillis() - submitTime.get if (elapsedTime > submitTimeout) { error(s"Can't find target driver pod by tag: $tag, " +