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

ASF GitHub Bot commented on HDFS-17254:
---------------------------------------

ayushtkn commented on code in PR #6307:
URL: https://github.com/apache/hadoop/pull/6307#discussion_r1432295491


##########
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml:
##########
@@ -154,6 +154,14 @@
   </description>
 </property>
 
+<property>
+  <name>dfs.datanode.netty.worker.threads</name>
+  <value>10</value>

Review Comment:
   Changing defaults is an incompatible change, it should stay the same. the 
code is there since 2014, if someone finds it isn't a good number he can 
configure explicitly 





> DataNode httpServer has too many worker threads
> -----------------------------------------------
>
>                 Key: HDFS-17254
>                 URL: https://issues.apache.org/jira/browse/HDFS-17254
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>            Reporter: Liangjun He
>            Assignee: Liangjun He
>            Priority: Minor
>              Labels: pull-request-available
>
> When optimizing the thread number of high-density storage DN, we found the 
> number of worker threads for the DataNode httpServer is twice the number of 
> available cores on node , resulting in too many threads. We can change this 
> to be configurable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to