Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2491

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22.0, 0.23.0, 2.0.0-alpha
    • 0.22.0, 0.23.0
    • None
    • None
    • 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)

      Attachments

        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

              umamaheswararao Uma Maheswara Rao G
              umamaheswararao Uma Maheswara Rao G
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: