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

Bharat Viswanadham commented on HDFS-12347:
-------------------------------------------

Thank You [~szetszwo] for inputs.
After reducing the number of datanodes to 20. Test case has passed. Attached 
the patch

Note: Even with number of datanodes set to 30 also it has passed. But changing 
it to 40, some times caused above exception and few times the return status 
from balancer is -3 (i.e No block has been moved for specified consecutive 
iterations (5 by default)). So, when datanodes is set to 40, the test case is 
behaving strangly.

Tried following, when it has throwed error -3:
1. Increased maxIdleIteration, still the same error.
2. Increased new number of datanodes added.





> TestBalancerRPCDelay#testBalancerRPCDelay fails very frequently
> ---------------------------------------------------------------
>
>                 Key: HDFS-12347
>                 URL: https://issues.apache.org/jira/browse/HDFS-12347
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0-beta1, 2.7.5, 3.0.1
>            Reporter: Xiao Chen
>            Assignee: Bharat Viswanadham
>            Priority: Critical
>         Attachments: HDFS-12347.00.patch, trunk.failed.xml
>
>
> Seems to be failing consistently on trunk from yesterday-ish.
> A sample failure is 
> https://builds.apache.org/job/PreCommit-HDFS-Build/20824/testReport/org.apache.hadoop.hdfs.server.balancer/TestBalancerRPCDelay/testBalancerRPCDelay/
> Running locally failed with:
> {noformat}
> <failure message="expected:&lt;0&gt; but was:&lt;-3&gt;" 
> type="java.lang.AssertionError"><![CDATA[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.TestBalancer.runBalancer(TestBalancer.java:953)
>         at 
> org.apache.hadoop.hdfs.server.balancer.TestBalancer.doTest(TestBalancer.java:921)
>         at 
> org.apache.hadoop.hdfs.server.balancer.TestBalancer.testBalancerRPCDelay(TestBalancer.java:2094)
>         at 
> org.apache.hadoop.hdfs.server.balancer.TestBalancerRPCDelay.testBalancerRPCDelay(TestBalancerRPCDelay.java:30)
> ]]></failure>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to