<!--StartFragment -->
1. 启动
bin/start-balancer.sh
2. 按照使用率去balancer
百分比
-threshold 设置平衡的比例
3. 设置频率
<property>
<name>dfs.balance.bandwidthPerSec</name>
<value>1048576</value>
<description>
Specifies the maximum amount of bandwidth that each datanode
can utilize for the balancing purpose in term of
the number of bytes per second.
</description>
</property>
bin/start-balancer.sh
2. 按照使用率去balancer
百分比
-threshold 设置平衡的比例
3. 设置频率
<property>
<name>dfs.balance.bandwidthPerSec</name>
<value>1048576</value>
<description>
Specifies the maximum amount of bandwidth that each datanode
can utilize for the balancing purpose in term of
the number of bytes per second.
</description>
</property>