HADOOP-9181. Merge 1429810 from trunk
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1429813 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6a52f90017
commit
314e79bc2d
|
@ -216,6 +216,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
|
||||
|
|
|
@ -244,6 +244,7 @@ public class HttpServer implements FilterContainer {
|
|||
// 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