1996fanrui commented on code in PR #1003:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/1003#discussion_r2257129858
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/service/AbstractFlinkService.java:
##########
@@ -560,6 +560,12 @@ public Optional<Savepoint> getLastCheckpoint(JobID jobId,
Configuration conf) {
&& e.getMessage().contains("Checkpointing has not been
enabled")) {
LOG.warn("Checkpointing not enabled for job {}", jobId, e);
return Optional.empty();
+ } else if (e instanceof ExecutionException
+ && e.getMessage() != null
+ && e.getMessage()
+ .contains(String.format("Job %s not found",
jobId.toString()))) {
+ LOG.warn("Job {} not found", jobId, e);
Review Comment:
Thanks @qinf for the explanation!
It sounds good to me.
--
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]