Replication factor =1
Step 1: Start NN,DN1.write 4 GB of data
Step 2: Start DN2
Step 3: issue the balancer command(./hdfs balancer -threshold 0)
The threshold parameter is a fraction in the range of (0%, 100%) with a default value of 10%
When the above scenario is executed the Source DN and Target DN is choosen and the number of bytes to be moved from source to target DN is also calculated .
Then the balancer is exiting with the following message "No block can be moved. Exiting..." which is not expected.