HDFS-15610 Reduced datanode upgrade/hardlink thread from 12 to 6 (#2365)

This commit is contained in:
Karthik Palanisamy 2020-10-08 00:21:04 -07:00 committed by GitHub
parent df4006eb81
commit 735e85a1d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1386,7 +1386,7 @@ public class DFSConfigKeys extends CommonConfigurationKeys {
"dfs.datanode.parallel.volumes.load.threads.num";
public static final String DFS_DATANODE_BLOCK_ID_LAYOUT_UPGRADE_THREADS_KEY =
"dfs.datanode.block.id.layout.upgrade.threads";
public static final int DFS_DATANODE_BLOCK_ID_LAYOUT_UPGRADE_THREADS = 12;
public static final int DFS_DATANODE_BLOCK_ID_LAYOUT_UPGRADE_THREADS = 6;
public static final String DFS_NAMENODE_INOTIFY_MAX_EVENTS_PER_RPC_KEY =
"dfs.namenode.inotify.max.events.per.rpc";

View File

@ -3296,7 +3296,7 @@
<property>
<name>dfs.datanode.block.id.layout.upgrade.threads</name>
<value>12</value>
<value>6</value>
<description>The number of threads to use when creating hard links from
current to previous blocks during upgrade of a DataNode to block ID-based
block layout (see HDFS-6482 for details on the layout).</description>