[ 
https://issues.apache.org/jira/browse/FLINK-25715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17479863#comment-17479863
 ] 

Yang Wang commented on FLINK-25715:
-----------------------------------

This is really a useful feature when integrate application mode with Flink job 
lifecycle management tools(e.g. Flink K8s operator).

> Application Mode: Add option to submit a failed job on application error
> ------------------------------------------------------------------------
>
>                 Key: FLINK-25715
>                 URL: https://issues.apache.org/jira/browse/FLINK-25715
>             Project: Flink
>          Issue Type: New Feature
>          Components: Client / Job Submission, Runtime / Coordination
>            Reporter: David Morávek
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
> Currently in application mode, any exception happens in the application 
> driver (before submitting an actual job) leads to a fail-over. These errors 
> are usually not retryable and we don't have a good way of reporting them to 
> the user.
> We'll introduce a new config option 
> `execution.submit-failed-job-on-application-error` that submits a failed job 
> with the `$internal.pipeline.job-id` instead.
> This is intended to be used in combination with 
> `execution.shutdown-on-application-finish = false` to allow user to retrieve 
> the information about the failed submission.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to