[ https://issues.apache.org/jira/browse/HDFS-6946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Chu updated HDFS-6946: ------------------------------ Attachment: HDFS-6946.1.patch I ran TestBalancerWithSaslDataTransfer multiple times with a build of current trunk and a build of when the test was first introduced (HDFS-2856, git hash 8d5e8c860ed361ed792affcfe06f1a34b017e421). git hash 8d5e8c860ed361ed792affcfe06f1a34b017e421 (sec): 90.254 84.332 73.909 74.057 84.397 76.889 83.687 sec Current trunk (sec): 79.968 62.116 73.788 79.336 68.545 76.846 70.014 There doesn't seem to be a performance regression, and the test cases in both versions look the same. Today (8/27/2014) Hdfs-trunk build had a test failure because of timing out of 40s as well in {{TestBlockTokenWithDFS.testEnd2End}}. I think we should bump up {{TestBalancer#TIMEOUT}} from 40s to 60s. Attaching patch. > TestBalancerWithSaslDataTransfer fails in trunk > ----------------------------------------------- > > Key: HDFS-6946 > URL: https://issues.apache.org/jira/browse/HDFS-6946 > Project: Hadoop HDFS > Issue Type: Test > Reporter: Ted Yu > Assignee: Stephen Chu > Priority: Minor > Attachments: HDFS-6946.1.patch > > > From build #1849 : > {code} > REGRESSION: > org.apache.hadoop.hdfs.server.balancer.TestBalancerWithSaslDataTransfer.testBalancer0Integrity > Error Message: > Cluster failed to reached expected values of totalSpace (current: 750, > expected: 750), or usedSpace (current: 140, expected: 150), in more than > 40000 msec. > Stack Trace: > java.util.concurrent.TimeoutException: Cluster failed to reached expected > values of totalSpace (current: 750, expected: 750), or usedSpace (current: > 140, expected: 150), in more than 40000 msec. > at > org.apache.hadoop.hdfs.server.balancer.TestBalancer.waitForHeartBeat(TestBalancer.java:253) > at > org.apache.hadoop.hdfs.server.balancer.TestBalancer.runBalancer(TestBalancer.java:578) > at > org.apache.hadoop.hdfs.server.balancer.TestBalancer.doTest(TestBalancer.java:551) > 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.testBalancer0Internal(TestBalancer.java:759) > at > org.apache.hadoop.hdfs.server.balancer.TestBalancerWithSaslDataTransfer.testBalancer0Integrity(TestBalancerWithSaslDataTransfer.java:34) > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)