Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-11190

Log stack trace on declined/discarded checkpoint

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Flink 1.5.2

    Description

      When setting the configuration failOnCheckpointingErrors, any checkpoints that are declined don't appear to print the stack trace for the exception that was thrown.

      The current code appears to print a descriptive message, but not the actual underlying cause of why the checkpoint failed in the first place.

      https://github.com/apache/flink/blob/release-1.5.2/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java#L1255

      This would be useful for trying to determine reasons for failure so we can take steps to improve the reliability of checkpointing (even though the setting 'failOnCheckpointingErrors' is set, it would still be useful to see the causes of checkpoint failures)

      Attachments

        Issue Links

          Activity

            People

              kisimple boshu Zheng
              djharper Daniel Harper
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: