[ 
https://issues.apache.org/jira/browse/HDFS-13272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16454701#comment-16454701
 ] 

Erik Krogen commented on HDFS-13272:
------------------------------------

Ran all HDFS unit tests locally; I attached the output with the patch applied ( 
[^testout-HDFS-13272.001] ) and without ( [^testout-branch-2] ).

There were no new failures with the patch applied and it took about the same 
time to run all of them. [Checkstyle 
diff|https://builds.apache.org/job/PreCommit-HDFS-Build/24054/artifact/out/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt]
 looks good (empty). Ping [~chris.douglas]

> DataNodeHttpServer to have configurable HttpServer2 threads
> -----------------------------------------------------------
>
>                 Key: HDFS-13272
>                 URL: https://issues.apache.org/jira/browse/HDFS-13272
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>            Reporter: Erik Krogen
>            Assignee: Erik Krogen
>            Priority: Major
>         Attachments: HDFS-13272-branch-2.000.patch, 
> HDFS-13272-branch-2.001.patch, testout-HDFS-13272.001, testout-branch-2
>
>
> In HDFS-7279, the Jetty server on the DataNode was hard-coded to use 10 
> threads. In addition to the possibility of this being too few threads, it is 
> much higher than necessary in resource constrained environments such as 
> MiniDFSCluster. To avoid compatibility issues, rather than using 
> {{HttpServer2#HTTP_MAX_THREADS}} directly, we can introduce a new 
> configuration for the DataNode's thread pool size.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to