You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Ashish Singhi (JIRA)" <ji...@apache.org> on 2012/05/12 17:12:49 UTC

[jira] [Created] (HDFS-3411) Balancer fails to balance blocks between aboveAvgUtilized and belowAvgUtilized datanodes.

Ashish Singhi created HDFS-3411:
-----------------------------------

             Summary: Balancer fails to balance blocks between aboveAvgUtilized and belowAvgUtilized datanodes.
                 Key: HDFS-3411
                 URL: https://issues.apache.org/jira/browse/HDFS-3411
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: balancer
    Affects Versions: 0.23.0
            Reporter: Ashish Singhi
             Fix For: 2.0.0, 3.0.0


Scaenario:
replication set to 1.
1. Start 1NN and IDN
2. pump 1GB of data.
3. Start one more DN
4. Run balancer with threshold 1.

Now DN1 is added into aboveAvgUtilizedDatanodes and DN2 into belowAvgUtilizedDatanodes. Hence overLoadedBytes and underLoadedBytes will be equal to 0. Resulting in bytesLeftToMove equal to 0. Thus balancer will exit without balancing the blocks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira