You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2018/08/10 15:20:00 UTC

[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)