StefanRRichter closed pull request #7154: [FLINK-10946] Silent checkpoint async failures in task executor if job is not runnning URL: https://github.com/apache/flink/pull/7154
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractStreamOperator.java b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractStreamOperator.java index 04489b0ffd9..d9a195cb235 100644 --- a/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractStreamOperator.java +++ b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractStreamOperator.java @@ -416,7 +416,9 @@ public final OperatorSnapshotFutures snapshotState(long checkpointId, long times String snapshotFailMessage = "Could not complete snapshot " + checkpointId + " for operator " + getOperatorName() + "."; - LOG.info(snapshotFailMessage, snapshotException); + if (!getContainingTask().isCanceled()) { + LOG.info(snapshotFailMessage, snapshotException); + } throw new Exception(snapshotFailMessage, snapshotException); } ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services