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

Chris Douglas commented on HDFS-13272:
--------------------------------------

bq. Rather than making it configurable, it might be better to simply reduce it. 
This makes sense to branch-3.x. For older branches, there still might be hftp 
users
Reducing the default makes sense for both 3.x and branch-2. [~kihwal], to be 
clear, should it be configurable on branch-2 so it can be raised for hftp 
users, but dropped to the minimum for 3.x?

> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to