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

Return failed JobResult if job terminates in state FAILED or CANCELED

    XMLWordPrintableJSON

Details

    Description

      If the job reaches the globally terminal state FAILED or CANCELED, the JobResult must return a non-successful result. At the moment, it can happen that in the CANCELED state where we don't find a failure cause that we return a successful JobResult.

      In order to change this I propose to always return a JobResult with a JobCancellationException in case of CANCELED and a JobExecutionException in case of FAILED.

      Attachments

        Issue Links

          Activity

            People

              trohrmann Till Rohrmann
              trohrmann Till Rohrmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: