Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8923

Set an uncaught exception handler for ForkJoinPool

    XMLWordPrintableJSON

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
    • Deployment / Scripts
    • 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.

      Attachments

        Activity

          People

            nkruber Nico Kruber
            nkruber Nico Kruber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: