[ 
https://issues.apache.org/jira/browse/HDFS-3411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274024#comment-13274024
 ] 

Ashish Singhi commented on HDFS-3411:
-------------------------------------

Typo {quote} 1. Start 1NN and IDN {quote}
Start 1NN and 1DN. 
                
> 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

        

Reply via email to