[ 
https://issues.apache.org/jira/browse/HDFS-7039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jing Zhao resolved HDFS-7039.
-----------------------------
      Resolution: Fixed
    Hadoop Flags: Reviewed

+1. I've committed this.

> Archival Storage: fix Balancer tests
> ------------------------------------
>
>                 Key: HDFS-7039
>                 URL: https://issues.apache.org/jira/browse/HDFS-7039
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: balancer
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>         Attachments: h7039_20140911.patch
>
>
> Most of the Balancer tests failed with incorrect exit code.  For example,
> {noformat}
> java.lang.AssertionError: Tools should exit 0 on success 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.apache.hadoop.hdfs.server.balancer.TestBalancer.runBalancerCli(TestBalancer.java:629)
>       at 
> org.apache.hadoop.hdfs.server.balancer.TestBalancer.doTest(TestBalancer.java:549)
>       at 
> org.apache.hadoop.hdfs.server.balancer.TestBalancer.doTest(TestBalancer.java:437)
>       at 
> org.apache.hadoop.hdfs.server.balancer.TestBalancer.oneNodeTest(TestBalancer.java:645)
>       at 
> org.apache.hadoop.hdfs.server.balancer.TestBalancer.testExitZeroOnSuccess(TestBalancer.java:911)
> {noformat}



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

Reply via email to