zlzhang0122 commented on a change in pull request #16637:
URL: https://github.com/apache/flink/pull/16637#discussion_r684151641
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java
##########
@@ -892,9 +900,12 @@ private void onTriggerFailure(@Nullable PendingCheckpoint
checkpoint, Throwable
job,
numUnsuccessful,
throwable);
- final CheckpointException cause =
- getCheckpointException(
-
CheckpointFailureReason.TRIGGER_CHECKPOINT_FAILURE, throwable);
+ CheckpointFailureReason defaultReason =
+ CheckpointFailureReason.TRIGGER_CHECKPOINT_FAILURE;
+ if (throwable instanceof IOException) {
Review comment:
You are right and I have also made a change here.
--
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]