Dennis-Mircea commented on code in PR #1249:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/1249#discussion_r4710012571


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/service/AbstractFlinkService.java:
##########
@@ -805,28 +805,8 @@ public CheckpointStatsResult fetchCheckpointStats(
     }
 
     @Override
-    public ClusterInfo getClusterInfo(Configuration conf, @Nullable String 
jobId) throws Exception {

Review Comment:
   No. In application mode, it makes the same 4 calls per loop when everything 
is healthy (`/config`, `/taskmanagers`, jobs list, `/jobs/:id/checkpoints`), 
only in readiness order. In session mode, it goes from 4 to 2, `/config` and 
`/taskmanagers` were fetched twice. When something goes wrong, there can be 
even fewer in both modes.



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

Reply via email to