Details
-
Test
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
We can't find the balancer rules we just read in the HeterogeneousRegionCountCostFunction test in high load conditions
2020-02-03 20:51:00,774 ERROR [Time-limited test] balancer.HeterogeneousRegionCountCostFunction(199): cannot read rules file located at ' /tmp/hbase-balancer.rules ':File /tmp/hbase-balancer.rules does not exist
2020-02-03 20:51:00,774 WARN [Time-limited test] balancer.HeterogeneousRegionCountCostFunction(155): cannot load rules file, keeping latest rules file which has 1 rules
Test then goes on to fail with:
org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancerHeterogeneousCost.testOneGroup Time elapsed: 15.223 s <<< FAILURE! junit.framework.AssertionFailedError: Host rs0 should be below 0.0% at org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancerHeterogeneousCost.testWithCluster(TestStochasticLoadBalancerHeterogeneousCost.java:209) at org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancerHeterogeneousCost.testHeterogeneousWithCluster(TestStochasticLoadBalancerHeterogeneousCost.java:160) at org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancerHeterogeneousCost.testOneGroup(TestStochasticLoadBalancerHeterogeneousCost.java:102)
Instead, have tests write rules to local test dir.
Attachments
Issue Links
- links to