[ https://issues.apache.org/jira/browse/HDFS-13272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448993#comment-16448993 ]
Erik Krogen edited comment on HDFS-13272 at 4/23/18 10:50 PM: -------------------------------------------------------------- Sounds good to me. I have patches put together for both branch-2 and trunk, but given that they do very different things (one is adding a new config, one is just reducing the value used), I have created a separate JIRA for the second: HDFS-13493. I have attached the branch-2 patch here. I marked the new config as {{@Deprecated}} given that it is removed in Hadoop 3. was (Author: xkrogen): Sounds good to me. I have patches put together for both branch-2 and trunk, but given that they do very different things (one is adding a new config, one is just reducing the value used), I have created a separate JIRA for the second: HDFS-13493. I have attached the branch-2 patch here. > 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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org