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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)