hlteoh37 commented on code in PR #22901:
URL: https://github.com/apache/flink/pull/22901#discussion_r1252023223
##########
flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/Dispatcher.java:
##########
@@ -937,6 +938,15 @@ public CompletableFuture<ExecutionGraphInfo>
requestExecutionGraphInfo(
.exceptionally(checkExecutionGraphStoreOnException);
}
+ @Override
+ public CompletableFuture<CheckpointStatsSnapshot> requestCheckpointStats(
+ JobID jobId, Time timeout) {
+ Optional<JobManagerRunner> maybeJob = getJobManagerRunner(jobId);
+
+ return maybeJob.map(job -> job.requestCheckpointStats(timeout))
+ .orElse(FutureUtils.completedExceptionally(new
FlinkJobNotFoundException(jobId)));
Review Comment:
Good callout. Will change
--
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]