You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jiangjie Qin (Jira)" <ji...@apache.org> on 2020/12/06 12:31:00 UTC

[jira] [Updated] (FLINK-20081) ExecutorNotifier should run handler in the main thread when receive an exception from the callable.

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

Jiangjie Qin updated FLINK-20081:
---------------------------------
    Fix Version/s: 1.11.3

> ExecutorNotifier should run handler in the main thread when receive an exception from the callable.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-20081
>                 URL: https://issues.apache.org/jira/browse/FLINK-20081
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Common
>    Affects Versions: 1.11.2
>            Reporter: Jiangjie Qin
>            Assignee: Jiangjie Qin
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.12.0, 1.11.3
>
>
> Currently the {{ExecutorNotifier}} runs the {{handler}} in the worker thread if there is an exception thrown from the {{callable}}. This breaks the threading model and prevents an exception from bubbling up to fail the job.
> Another issue is that right now, when an exception bubbles up from the {{SourceCoordinator}}, the UncaughtExceptionHandler will call System.exit(-17) and kill the JM. This is too much. Instead, we should just fail the job to trigger a failover.



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