Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.6.0
-
None
-
None
Description
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.