[
https://issues.apache.org/jira/browse/HDFS-7088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14139244#comment-14139244
]
Jing Zhao commented on HDFS-7088:
---------------------------------
Thanks for the fix, [~szetszwo]! The patch looks good to me. I've also verified
that all the balancer related tests passed with the patch. +1
> Archival Storage: fix TestBalancer and TestBalancerWithMultipleNameNodes
> ------------------------------------------------------------------------
>
> Key: HDFS-7088
> URL: https://issues.apache.org/jira/browse/HDFS-7088
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: balancer, test
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Priority: Minor
> Attachments: h7088_20140918.patch
>
>
> {noformat}
> java.lang.AssertionError: expected:<0> but was:<-3>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at org.junit.Assert.assertEquals(Assert.java:542)
> at
> org.apache.hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes.runBalancer(TestBalancerWithMultipleNameNodes.java:163)
> at
> org.apache.hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes.runTest(TestBalancerWithMultipleNameNodes.java:365)
> at
> org.apache.hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes.testBalancer(TestBalancerWithMultipleNameNodes.java:379)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)