设置负载均衡器

<!--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>

猜你喜欢

转载自719607746.iteye.com/blog/2142918