Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2491

TestBalancer can fail when datanode utilization and avgUtilization is exactly same.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0, 0.23.0, 2.0.0-alpha
    • Fix Version/s: 0.22.0, 0.23.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Stack Trace:
      junit.framework.AssertionFailedError: 127.0.0.1:60986is not an underUtilized node: utilization=22.0 avgUtilization=22.0 threshold=10.0
      at org.apache.hadoop.hdfs.server.balancer.Balancer.initNodes(Balancer.java:1014)
      at org.apache.hadoop.hdfs.server.balancer.Balancer.initNodes(Balancer.java:953)
      at org.apache.hadoop.hdfs.server.balancer.Balancer.run(Balancer.java:1502)
      at org.apache.hadoop.hdfs.server.balancer.TestBalancer.runBalancer(TestBalancer.java:247)
      at org.apache.hadoop.hdfs.server.balancer.TestBalancer.test(TestBalancer.java:234)
      at org.apache.hadoop.hdfs.server.balancer.TestBalancer.twoNodeTest(TestBalancer.java:312)
      at org.apache.hadoop.hdfs.server.balancer.TestBalancer.__CLR2_4_39j3j5b10ou(TestBalancer.java:328)
      at org.apache.hadoop.hdfs.server.balancer.TestBalancer.testBalancer0(TestBalancer.java:324)

      1. HDFS-2492.patch
        0.8 kB
        Uma Maheswara Rao G
      2. HDFS-2492-22Branch.patch
        0.7 kB
        Uma Maheswara Rao G

        Issue Links

          Activity

            People

            • Assignee:
              Uma Maheswara Rao G
              Reporter:
              Uma Maheswara Rao G
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development