osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (FLINK-10123) Use ExecutorThreadFactory instead of DefaultThreadFactory in RestServer/Client


Till Rohrmann created FLINK-10123:
-------------------------------------

             Summary: Use ExecutorThreadFactory instead of DefaultThreadFactory in RestServer/Client
                 Key: FLINK-10123
                 URL: https://issues.apache.org/jira/browse/FLINK-10123
             Project: Flink
          Issue Type: Improvement
          Components: REST
    Affects Versions: 1.6.0, 1.7.0
            Reporter: Till Rohrmann
            Assignee: Till Rohrmann
             Fix For: 1.7.0


Instead of using the {{DefaultThreadFactory}} in the {{RestServerEndpoint}}/{{RestClient}} we should use the {{ExecutorThreadFactory}} because it uses the {{FatalExitExceptionHandler}} per default as the uncaught exception handler. This should guard against uncaught exceptions by simply terminating the JVM.



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