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

TestStochasticLoadBalancer has some slow methods, and inconsistent set, reset, unset of configuration

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.0.0
    • 2.5.0, 3.0.0-alpha-3
    • Balancer, test
    • None
    • Reviewed

    Description

      Some test ordering issues were exposed by adding new tests in HBASE-22349. I think this is a legitimate issue which is tracked in HBASE-26988.

      But we can update the tests to be consistent in how they update configuration to reduce confusion, removing the unset calls.

      We can also update other configuration values to significantly speed up the long-running methods. Methods that are simply checking for balancer plans do not need to runMaxSteps. All we need to do is run enough steps to guarantee we will plan to move one region. That can be far fewer than the tens of millions of steps we may be running given runMaxSteps.

      Attachments

        Issue Links

          Activity

            People

              dmanning David Manning
              dmanning David Manning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: