Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6586

TestBalancer#testExitZeroOnSuccess sometimes fails in trunk

    Details

    • Type: Test Test
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      From https://builds.apache.org/job/Hadoop-Hdfs-trunk/1782/testReport/org.apache.hadoop.hdfs.server.balancer/TestBalancer/testExitZeroOnSuccess/ :

      Stacktrace
      java.util.concurrent.TimeoutException: Rebalancing expected avg utilization to become 0.2, but on datanode 127.0.0.1:49048 it remains at 0.08 after more than 40000 msec.
      	at org.apache.hadoop.hdfs.server.balancer.TestBalancer.waitForBalancer(TestBalancer.java:284)
      	at org.apache.hadoop.hdfs.server.balancer.TestBalancer.runBalancerCli(TestBalancer.java:392)
      	at org.apache.hadoop.hdfs.server.balancer.TestBalancer.doTest(TestBalancer.java:357)
      	at org.apache.hadoop.hdfs.server.balancer.TestBalancer.oneNodeTest(TestBalancer.java:398)
      	at org.apache.hadoop.hdfs.server.balancer.TestBalancer.testExitZeroOnSuccess(TestBalancer.java:550)
      

        Issue Links

          Activity

          Hide
          Binglin Chang added a comment -

          TestBalancerWithNodeGroup also failed before with the same reason(HDFS-6250), we fixed TestBalancerWithNodeGroup, but looks like TestBalancer have the same bug, and potentially also have bug HDFS-6250.

          Show
          Binglin Chang added a comment - TestBalancerWithNodeGroup also failed before with the same reason( HDFS-6250 ), we fixed TestBalancerWithNodeGroup, but looks like TestBalancer have the same bug, and potentially also have bug HDFS-6250 .
          Hide
          Binglin Chang added a comment -

          and potentially also have bug HDFS-6250

          sorry, it was HDFS-6506

          Show
          Binglin Chang added a comment - and potentially also have bug HDFS-6250 sorry, it was HDFS-6506
          Hide
          Binglin Chang added a comment -

          I updated the patch in HDSF-6506 to fix the bug, close this jira as duplicate. Thanks for reporting this, Ted.

          Show
          Binglin Chang added a comment - I updated the patch in HDSF-6506 to fix the bug, close this jira as duplicate. Thanks for reporting this, Ted.

            People

            • Assignee:
              Unassigned
              Reporter:
              Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development