You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Nico Kruber (JIRA)" <ji...@apache.org> on 2018/03/12 11:07:00 UTC

[jira] [Created] (FLINK-8923) Set an uncaught exception handler for ForkJoinPool

Nico Kruber created FLINK-8923:
----------------------------------

             Summary: Set an uncaught exception handler for ForkJoinPool
                 Key: FLINK-8923
                 URL: https://issues.apache.org/jira/browse/FLINK-8923
             Project: Flink
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.4.1, 1.4.0, 1.5.0, 1.4.2, 1.6.0
            Reporter: Nico Kruber
            Assignee: Nico Kruber
             Fix For: 1.5.0, 1.6.0


We should also set an uncaught exception handler for the {{ForkJoinPool}} which may be used directly, indirectly via Java's parallel steam operations, or through any library we use. We'd like to make sure Flink doesn't linger around while waiting for something to happen which will never happen due to an exception in another thread.

This should be as easy as setting the {{java.util.concurrent.ForkJoinPool.common.exceptionHandler}} property to {{org.apache.flink.runtime.util.FatalExitExceptionHandler}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)