This section describes the algorithm deployed by the HDFS Balancer to balance the cluster. The HDFS Balancer runs in iterations. Each iteration consists of the following steps: