You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Flink Jira Bot (Jira)" <ji...@apache.org> on 2021/06/06 10:53:02 UTC

[jira] [Updated] (FLINK-20020) Make UnsuccessfulExecutionException part of the JobClient.getJobExecutionResult() contract.

     [ https://issues.apache.org/jira/browse/FLINK-20020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Flink Jira Bot updated FLINK-20020:
-----------------------------------
      Labels: auto-deprioritized-major auto-unassigned pull-request-available  (was: auto-unassigned pull-request-available stale-major)
    Priority: Minor  (was: Major)

This issue was labeled "stale-major" 7 ago and has not received any updates so it is being deprioritized. If this ticket is actually Major, please raise the priority and ask a committer to assign you the issue or revive the public discussion.


> Make UnsuccessfulExecutionException part of the JobClient.getJobExecutionResult() contract.
> -------------------------------------------------------------------------------------------
>
>                 Key: FLINK-20020
>                 URL: https://issues.apache.org/jira/browse/FLINK-20020
>             Project: Flink
>          Issue Type: Improvement
>          Components: Client / Job Submission
>    Affects Versions: 1.12.0
>            Reporter: Kostas Kloudas
>            Priority: Minor
>              Labels: auto-deprioritized-major, auto-unassigned, pull-request-available
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)