dongjoon-hyun commented on code in PR #867:
URL: 
https://github.com/apache/spark-kubernetes-operator/pull/867#discussion_r4080225451


##########
spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/observers/BaseAppDriverObserver.java:
##########
@@ -101,6 +99,11 @@ protected Optional<ApplicationState> 
observeDriverTermination(
       return Optional.of(new ApplicationState(Succeeded, 
DRIVER_COMPLETED_MESSAGE));
     }
 
+    if (status.getContainerStatuses() == null || 
status.getContainerStatuses().isEmpty()) {
+      log.debug("Cannot determine driver pod status, the pod may in pending 
state.");

Review Comment:
   Thank you. Each guard now logs its own message.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to