vanzin commented on a change in pull request #25648: [SPARK-28947][K8S] Status 
logging not happens at an interval for liveness
URL: https://github.com/apache/spark/pull/25648#discussion_r328848864
 
 

 ##########
 File path: 
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/submit/KubernetesClientApplication.scala
 ##########
 @@ -145,6 +145,7 @@ private[spark] class Client(
         s"${resolvedDriverPod.getMetadata.getName}"
       if (waitForAppCompletion) {
         logInfo(s"Waiting for application ${conf.appName} with submission ID 
${sId} to finish...")
+        watcher.start()
 
 Review comment:
   Instead of this, I think it would be simpler / better to start the watcher 
in the constructor. That way, if the log period is not specified, you can even 
avoid creating the executor for the logging task altogether.

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


With regards,
Apache Git Services

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

Reply via email to