`

设置负载均衡器

 
阅读更多
<!--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>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics