Skip to content

Commit

Permalink
HDFS-14675. Increase Balancer Defaults Further. Contributed by Stephe…
Browse files Browse the repository at this point in the history
…n O'Donnell.

Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Reviewed-by: Gabor Bota <gabota@apache.org>
  • Loading branch information
Stephen O'Donnell authored and jojochuang committed Aug 22, 2019
1 parent 4028cac commit 93daf69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ public class DFSConfigKeys extends CommonConfigurationKeys {
public static final String DFS_DATANODE_BALANCE_BANDWIDTHPERSEC_KEY =
HdfsClientConfigKeys.DeprecatedKeys.DFS_DATANODE_BALANCE_BANDWIDTHPERSEC_KEY;
public static final long DFS_DATANODE_BALANCE_BANDWIDTHPERSEC_DEFAULT =
10 * 1024*1024;
100 * 1024*1024;
public static final String DFS_DATANODE_BALANCE_MAX_NUM_CONCURRENT_MOVES_KEY
= "dfs.datanode.balance.max.concurrent.moves";
public static final int
DFS_DATANODE_BALANCE_MAX_NUM_CONCURRENT_MOVES_DEFAULT = 50;
DFS_DATANODE_BALANCE_MAX_NUM_CONCURRENT_MOVES_DEFAULT = 100;
@Deprecated
public static final String DFS_DATANODE_READAHEAD_BYTES_KEY =
HdfsClientConfigKeys.DFS_DATANODE_READAHEAD_BYTES_KEY;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@

<property>
<name>dfs.datanode.balance.bandwidthPerSec</name>
<value>10m</value>
<value>100m</value>
<description>
Specifies the maximum amount of bandwidth that each datanode
can utilize for the balancing purpose in term of
Expand Down Expand Up @@ -4068,7 +4068,7 @@

<property>
<name>dfs.datanode.balance.max.concurrent.moves</name>
<value>50</value>
<value>100</value>
<description>
Maximum number of threads for Datanode balancer pending moves. This
value is reconfigurable via the "dfsadmin -reconfig" command.
Expand Down

0 comments on commit 93daf69

Please sign in to comment.