Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27054

TestStochasticLoadBalancerRegionReplicaLargeCluster.testRegionReplicasOnLargeCluster is flaky

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0, 3.0.0-alpha-3, 2.4.13
    • test
    • None
    • Reviewed

    Description

      TestStochasticLoadBalancerRegionReplicaLargeCluster.testRegionReplicasOnLargeCluster . Looks like we can be off by one on either side of an expected value.

      Any idea what is going on here dmanning?

      org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplicaLargeCluster.testRegionReplicasOnLargeCluster  Time elapsed: 77.779 s  <<< FAILURE!
      java.lang.AssertionError: All servers should have load no less than 60.
      server=srv1351292323,46522,-3543799643652531264 , load=59
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.junit.Assert.assertTrue(Assert.java:42)
      	at org.apache.hadoop.hbase.master.balancer.BalancerTestBase.assertClusterAsBalanced(BalancerTestBase.java:200)
      	at org.apache.hadoop.hbase.master.balancer.BalancerTestBase.testWithCluster(BalancerTestBase.java:577)
      	at org.apache.hadoop.hbase.master.balancer.BalancerTestBase.testWithCluster(BalancerTestBase.java:544)
      	at org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplicaLargeCluster.testRegionReplicasOnLargeCluster(TestStochasticLoadBalancerRegionReplicaLargeCluster.java:41)
      
      org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplicaLargeCluster.testRegionReplicasOnLargeCluster  Time elapsed: 77.781 s  <<< FAILURE!
      java.lang.AssertionError: All servers should have load no more than 60. 
      server=srv1402325691,7995,26308078476749652 , load=61
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.junit.Assert.assertTrue(Assert.java:42)
      	at org.apache.hadoop.hbase.master.balancer.BalancerTestBase.assertClusterAsBalanced(BalancerTestBase.java:198)
      	at org.apache.hadoop.hbase.master.balancer.BalancerTestBase.testWithCluster(BalancerTestBase.java:577)
      	at org.apache.hadoop.hbase.master.balancer.BalancerTestBase.testWithCluster(BalancerTestBase.java:544)
      	at org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplicaLargeCluster.testRegionReplicasOnLargeCluster(TestStochasticLoadBalancerRegionReplicaLargeCluster.java:41)
      
      

      Attachments

        Issue Links

          Activity

            People

              dmanning David Manning
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: