Utility to Balance a Cluster in Hadoop
hdfs balancer command.
Eg. Runs a cluster balancing utility. An administrator can simply press Ctrl-C to stop the rebalancing process. See Balancer for more details. Usage: hdfs balancer [-threshold <threshold>] [-policy <policy>] COMMAND_OPTION Description -threshold threshold Percentage of disk capacity. This overwrites the default threshold. -policy policy datanode (default): Cluster is balanced if each datanode is balanced. blockpool: Cluster is balanced if each block pool in each datanode is balanced. Note that the blockpool policy is more strict than the datanode policy.