You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/04/10 23:39:37 UTC

[GitHub] [flink-kubernetes-operator] SteNicholas commented on a diff in pull request #161: [FLINK-27141] Improve FlinkService#waitForClusterShutdown logic

SteNicholas commented on code in PR #161:
URL: https://github.com/apache/flink-kubernetes-operator/pull/161#discussion_r846865468


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/utils/FlinkUtils.java:
##########
@@ -207,7 +213,10 @@ public static void waitForClusterShutdown(
             if (!jobManagerRunning && !serviceRunning) {
                 break;
             }
-            LOG.info("Waiting for cluster shutdown... ({})", i);
+            // log a message waiting to shutdown Flink cluster every 5 seconds.
+            if (i % 4 == 0) {

Review Comment:
   @gyfora , i start from 0, therefore print the log every 5 seconds.



-- 
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: issues-unsubscribe@flink.apache.org

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