You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Zhijie Shen (JIRA)" <ji...@apache.org> on 2015/03/26 00:05:53 UTC

[jira] [Created] (HADOOP-11749) HttpServer2 thread pool is set to daemon

Zhijie Shen created HADOOP-11749:
------------------------------------

             Summary: HttpServer2 thread pool is set to daemon
                 Key: HADOOP-11749
                 URL: https://issues.apache.org/jira/browse/HADOOP-11749
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Zhijie Shen


In many cases, it is not the problem because the rpc protocol will bock the process from exit. However, if the process only has a web server, since the thread pool is set to daemon, the process will immediately exit after starting it, but not stay and listen to the incoming requests.

It's possible for us to work around to make the main thread being blocked, but I'm wondering if we can resolve it within HttpServer2.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)