[ https://issues.apache.org/jira/browse/HDFS-17254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17801256#comment-17801256 ]
ASF GitHub Bot commented on HDFS-17254: --------------------------------------- ayushtkn commented on code in PR #6307: URL: https://github.com/apache/hadoop/pull/6307#discussion_r1438397084 ########## hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java: ########## @@ -966,6 +966,9 @@ public class DFSConfigKeys extends CommonConfigurationKeys { public static final String DFS_DATANODE_HTTP_ADDRESS_DEFAULT = "0.0.0.0:" + DFS_DATANODE_HTTP_DEFAULT_PORT; public static final String DFS_DATANODE_HTTP_INTERNAL_PROXY_PORT = "dfs.datanode.http.internal-proxy.port"; + public static final String DFS_DATANODE_NETTY_WORKER_NUM_THREADS_KEY = + "dfs.datanode.netty.worker.threads"; + public static final int DFS_DATANODE_NETTY_WORKER_NUM_THREADS_DEFAULT = 10; Review Comment: this needs to be changed as well > 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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org