You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/12/09 08:56:57 UTC
[GitHub] [incubator-kyuubi] ulysses-you commented on a diff in pull request #3953: [IT][Test][K8S] Fix Kyuubi with Spark On Kubernetes Flaky Test
ulysses-you commented on code in PR #3953:
URL: https://github.com/apache/incubator-kyuubi/pull/3953#discussion_r1044223647
##########
kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationOperation.scala:
##########
@@ -61,6 +61,9 @@ class KubernetesApplicationOperation extends ApplicationOperation with Logging {
val operation = findDriverPodByTag(tag)
val podList = operation.list().getItems
if (podList.size() != 0) {
+ if (podList.get(0).getStatus.getPhase.equalsIgnoreCase("Terminated")) {
Review Comment:
shall we use `KubernetesApplicationOperation. toApplicationState` ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org