You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2020/10/16 06:47:31 UTC

[GitHub] [zeppelin] Reamer commented on a change in pull request #3943: [ZEPPELIN-5096] Error message for K8s launcher and Pending Status Improvement

Reamer commented on a change in pull request #3943:
URL: https://github.com/apache/zeppelin/pull/3943#discussion_r506094531



##########
File path: zeppelin-plugins/launcher/k8s-standard/src/main/java/org/apache/zeppelin/interpreter/launcher/K8sRemoteInterpreterProcess.java
##########
@@ -223,6 +245,13 @@ public boolean isRunning() {
     return false;
   }
 
+  public String getPodPhase() {
+    Pod pod = client.pods().inNamespace(namespace).withName(podName).get();
+    if (pod != null) {
+      return pod.getStatus().getPhase();
+    }
+    return "Unkown";

Review comment:
       Thanks for the hint, I have corrected that




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org