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

Etienne Chauchot commented on FLINK-23843:
------------------------------------------

[~trohrmann] Thanks. Of course we need to fail the job and obviously not 
leading to kill the jobManager with _FatalExitExceptionHandler_.  So I'll 
properly fail the job in that case for now and postpone the user defined 
behavior feature.

> Exceptions during "SplitEnumeratorContext.runInCoordinatorThread()" should 
> cause Global Failure instead of Process Kill
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-23843
>                 URL: https://issues.apache.org/jira/browse/FLINK-23843
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Coordination
>    Affects Versions: 1.13.2
>            Reporter: Stephan Ewen
>            Assignee: Stephan Ewen
>            Priority: Critical
>             Fix For: 1.15.0
>
>
> Currently, when a the method 
> "SplitEnumeratorContext.runInCoordinatorThread()" throws an exception, the 
> effect is a process kill of the JobManager process.
> The chain how the process kill happens is:
> * An exception bubbling up in the executor, killing the executor thread
> * The executor starts a replacement thread, which is forbidden by the thread 
> factory (as a safety net) and causes a process kill.
> We should prevent such exceptions from bubbling up in the coordinator 
> executor.



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

Reply via email to