HADOOP-9181. Set daemon flag for HttpServer's QueuedThreadPool. Contributed by Liang Xie.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1429810 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2cd41855d5
commit
f6ae596d1e
@ -519,6 +519,9 @@ Release 2.0.3-alpha - Unreleased
|
||||
HADOOP-9153. Support createNonRecursive in ViewFileSystem.
|
||||
(Sandy Ryza via tomwhite)
|
||||
|
||||
HADOOP-9181. Set daemon flag for HttpServer's QueuedThreadPool.
|
||||
(Liang Xie via suresh)
|
||||
|
||||
Release 2.0.2-alpha - 2012-09-07
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -245,6 +245,7 @@ protected SSLServerSocketFactory createFactory() throws Exception {
|
||||
// default value (currently 250).
|
||||
QueuedThreadPool threadPool = maxThreads == -1 ?
|
||||
new QueuedThreadPool() : new QueuedThreadPool(maxThreads);
|
||||
threadPool.setDaemon(true);
|
||||
webServer.setThreadPool(threadPool);
|
||||
|
||||
final String appDir = getWebAppsPath(name);
|
||||
|
Loading…
Reference in New Issue
Block a user