[
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
stale-minor (was: auto-deprioritized-major auto-unassigned
pull-request-available)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issues has been marked as
Minor but is unassigned and neither itself nor its Sub-Tasks have been updated
for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is
still Minor, please either assign yourself or give an update. Afterwards,
please remove the label or in 7 days the issue will be deprioritized.
> 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, stale-minor
>
> 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.20.10#820010)