Plan the data movement across disks
A Disk Balancer plan identifies the amount of data that should move between the disks of a specified DataNode. The plan contains move steps, where each move step specifies the source and destination disks for data movement and the number of bytes to move.
hdfs diskbalancer -plancommand by specifying the path to the DataNode.
hdfs diskbalancer -plan node1.mycluster.com.
<nodename>.before.jsonthat indicates the state of the cluster before running Disk Balancer, and
<nodename>.plan.jsonthat details the data movement plan for the DataNode.
By default, the JSON documents are placed in
the following location:
<Creation_Timestamp> indicates the folder named according
to the date and time of creation of the JSON documents.