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

Add custom Exception type to suppress job restarts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Implemented
    • 0.10.0
    • 1.0.0
    • Runtime / Coordination
    • None

    Description

      In case of failures and configured execution retries, the job will be be restarted even in cases when the failure is not recoverable.

      We can add a custom Exception type like UnrecoverableFailure in order to suppress restarts in certain cases. The execution graph restart logic can check the failure type on recovery and skip the restarting.

      This Exception can be used both by the system and the user.

      Attachments

        Activity

          People

            uce Ufuk Celebi
            uce Ufuk Celebi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: