加速hdfs balance速度

hdfs 默认配置指定DataNode用于balancer的带宽为10M

dfs.datanode.balance.bandwidthPerSec   1048576

su hdfs

hdfs dfsadmin -setBalancerBandwidth 104857600  #临时设置带宽

 hdfs balancer -threshold 10  #10为各节点存储的浮动比例10%上下浮动

你可能感兴趣的:(加速hdfs balance速度)