Hadoop2.7实战v1.0之start-balancer.sh与hdfs balancer数据均衡
Hadoop2.7实战v1.0之start-balancer.sh与hdfs balancer数据均衡【修正版】 适用场景: a.当动态添加或者删除集群的数据节点,必然会使各节点的数据不均衡 b.当正常维护时 1.对hdfs负载设置均衡,因为默认的数据传输带宽比较低,可以设置为64M, 即hdfs dfsadmin -setBalancerBandwidth 67108864即可 点击(此处)折叠或打开 [root@sht-sgmhadoopnn-01 ~]#cd /hadoop/hadoop-2.7.2/bin [root@sht-sgmhadoopdn-01 bin]#./hdfs dfsadmin-setBalancerBandwidth 67108864 Balancer bandwidth is set to 67108864forsht-sgmhadoopnn-01/172.16.101.55:8020 Balancer bandwidth is set to 67108864forsht-sgmhadoopnn-02/172.16.101.56:8020 2.默认bala...