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

Make UnsuccessfulExecutionException part of the JobClient.getJobExecutionResult() contract.

    XMLWordPrintableJSON

Details

    Description

      Currently, different implementations of the JobClient throw different exceptions. The ClusterClientJobClientAdapter wraps the exception from the JobResult.toJobExecutionResult() into a ProgramInvocationException, the MiniClusterJobClient simply wraps it in a CompletionException and the EmbeddedJobClient wraps it into an UnsuccessfulExecutionException.

      With this issue I would like to propose making the exception uniform and part of the contract and as a candidate I would propose the behaviour of the EmbeddedJobClient which throws an UnsuccessfulExecutionException. The reason is that this exception also includes the status of the application.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kkl0u Kostas Kloudas
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: