hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2012) Recurring failure of TestBalancer on branch-0.22
Date Fri, 30 Sep 2011 02:25:45 GMT

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

Konstantin Shvachko commented on HDFS-2012:
-------------------------------------------

In Balancer.initNodes(.) there is logic that classifies nodes 4 groups:
# underUtilied, whose utilization is less than avgUtilization - threshold
# utilized below average, whose utilization is < avgUtilization, but >= (avgUtilization-threshold)
# utilized above average, whose utilization is > avgUtilization, but <= (avgUtilization+threshold)
# overUtilied, whose utilization is > avgUtilization + threshold

The problem here is that if the node's utilization exactly = avgUtilization, then it does
not belong to any of the four groups and the assert kicks in.
The fix is to include such node to group 2 or 3. I'd prefer 3.
                
> Recurring failure of TestBalancer on branch-0.22
> ------------------------------------------------
>
>                 Key: HDFS-2012
>                 URL: https://issues.apache.org/jira/browse/HDFS-2012
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: balancer, test
>    Affects Versions: 0.22.0
>            Reporter: Aaron T. Myers
>            Priority: Blocker
>             Fix For: 0.22.0
>
>         Attachments: TestBalancerLog.html
>
>
> This has been failing on Hudson for the last two builds and fails on my local box as
well.

--
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

        

Mime
View raw message