HDFS-15253 Default checkpoint transfer speed, 50mb per second (#2366)

(cherry picked from commit df4006eb81)
This commit is contained in:
Karthik Palanisamy 2020-10-07 09:39:04 -07:00 committed by Wei-Chiu Chuang
parent 7f20fad419
commit 769df1e964
2 changed files with 3 additions and 3 deletions

View File

@ -983,7 +983,7 @@ public class DFSConfigKeys extends CommonConfigurationKeys {
public static final String DFS_IMAGE_TRANSFER_RATE_KEY = public static final String DFS_IMAGE_TRANSFER_RATE_KEY =
"dfs.image.transfer.bandwidthPerSec"; "dfs.image.transfer.bandwidthPerSec";
public static final long DFS_IMAGE_TRANSFER_RATE_DEFAULT = 0; //no throttling public static final long DFS_IMAGE_TRANSFER_RATE_DEFAULT = 52428800;
public static final String DFS_IMAGE_TRANSFER_BOOTSTRAP_STANDBY_RATE_KEY = public static final String DFS_IMAGE_TRANSFER_BOOTSTRAP_STANDBY_RATE_KEY =
"dfs.image.transfer-bootstrap-standby.bandwidthPerSec"; "dfs.image.transfer-bootstrap-standby.bandwidthPerSec";

View File

@ -1439,13 +1439,13 @@
<property> <property>
<name>dfs.image.transfer.bandwidthPerSec</name> <name>dfs.image.transfer.bandwidthPerSec</name>
<value>0</value> <value>52428800</value>
<description> <description>
Maximum bandwidth used for regular image transfers (instead of Maximum bandwidth used for regular image transfers (instead of
bootstrapping the standby namenode), in bytes per second. bootstrapping the standby namenode), in bytes per second.
This can help keep normal namenode operations responsive during This can help keep normal namenode operations responsive during
checkpointing. checkpointing.
A default value of 0 indicates that throttling is disabled. A default value is 50mb per second.
The maximum bandwidth used for bootstrapping standby namenode is The maximum bandwidth used for bootstrapping standby namenode is
configured with dfs.image.transfer-bootstrap-standby.bandwidthPerSec. configured with dfs.image.transfer-bootstrap-standby.bandwidthPerSec.
Support multiple size unit suffix(case insensitive), as described Support multiple size unit suffix(case insensitive), as described