HDFS-13153. Enable HDFS diskbalancer by default. Contributed by Ajay Kumar.

This commit is contained in:
Arpit Agarwal 2018-02-16 09:38:34 -08:00
parent 7ac88244c5
commit 8d5ea7470a
2 changed files with 3 additions and 3 deletions

View File

@ -1146,7 +1146,7 @@ public class DFSConfigKeys extends CommonConfigurationKeys {
// Disk Balancer Keys // Disk Balancer Keys
public static final String DFS_DISK_BALANCER_ENABLED = public static final String DFS_DISK_BALANCER_ENABLED =
"dfs.disk.balancer.enabled"; "dfs.disk.balancer.enabled";
public static final boolean DFS_DISK_BALANCER_ENABLED_DEFAULT = false; public static final boolean DFS_DISK_BALANCER_ENABLED_DEFAULT = true;
public static final String DFS_DISK_BALANCER_MAX_DISK_THROUGHPUT = public static final String DFS_DISK_BALANCER_MAX_DISK_THROUGHPUT =
"dfs.disk.balancer.max.disk.throughputInMBperSec"; "dfs.disk.balancer.max.disk.throughputInMBperSec";

View File

@ -4633,10 +4633,10 @@
<property> <property>
<name>dfs.disk.balancer.enabled</name> <name>dfs.disk.balancer.enabled</name>
<value>false</value> <value>true</value>
<description> <description>
This enables the diskbalancer feature on a cluster. By default, disk This enables the diskbalancer feature on a cluster. By default, disk
balancer is disabled. balancer is enabled.
</description> </description>
</property> </property>