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

Xiaoyu Yao commented on HDFS-7954:
----------------------------------

The iteration output from balancer does not seem to right. Also, the test 
should not run on Windows before HDFS-7759 is ready. 

{code}
                                                  Iteration      LeftToMove     
BeingMoved      Moved
Mar 18, 2015 9:02:31 AM           0                500 B             2.12 KB    
          500 B
Mar 18, 2015 9:02:35 AM           1               1000 B             1.63 KB    
          500 B
Mar 18, 2015 9:02:39 AM           2              1.46 KB             1.14 KB    
          500 B
Mar 18, 2015 9:02:43 AM           3              1.95 KB               666 B    
          500 B
Mar 18, 2015 9:02:47 AM           4              2.44 KB               166 B    
          500 B
The cluster is balanced. Exiting...
Mar 18, 2015 9:02:50 AM           5              2.44 KB                 0 B    
           -1 B
{code}

> TestBalancer#testBalancerWithPinnedBlocks failed on both Linux and Windows
> --------------------------------------------------------------------------
>
>                 Key: HDFS-7954
>                 URL: https://issues.apache.org/jira/browse/HDFS-7954
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Xiaoyu Yao
>
> {code}
> testBalancerWithPinnedBlocks(org.apache.hadoop.hdfs.server.balancer.TestBalancer)
>   Time elapsed: 22.624 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<-3> but was:<0>
>       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.TestBalancer.testBalancerWithPinnedBlocks(TestBalancer.java:353)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to