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

Konstantin Shvachko commented on HDFS-613:
------------------------------------------

This is the assertion:
{{AssertionError: Mismatched number of datanodes}}

It is in {{Balancer.chooseNode()}} method wthout parameters.

> TestBalancer fails with -ea option.
> -----------------------------------
>
>                 Key: HDFS-613
>                 URL: https://issues.apache.org/jira/browse/HDFS-613
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>             Fix For: 0.21.0
>
>
> Running TestBalancer with asserts on. The asserts in 
> {{Balancer.chooseNode()}} is triggered and the test fails. We do not see it 
> in the builds because asserts are off there. So either the assert is 
> irrelevant or there is another bug in the Balancer code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to