You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2020/02/04 05:50:00 UTC
[jira] [Created] (HBASE-23789) [Flakey Tests] ERROR [Time-limited
test] balancer.HeterogeneousRegionCountCostFunction(199): cannot read rules
file located at ' /tmp/hbase-balancer.rules '
Michael Stack created HBASE-23789:
-------------------------------------
Summary: [Flakey Tests] ERROR [Time-limited test] balancer.HeterogeneousRegionCountCostFunction(199): cannot read rules file located at ' /tmp/hbase-balancer.rules '
Key: HBASE-23789
URL: https://issues.apache.org/jira/browse/HBASE-23789
Project: HBase
Issue Type: Bug
Components: flakies
Reporter: Michael Stack
We can't find the balancer rules we just read in the HeterogeneousRegionCountCostFunction test in high load conditions
{code}
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
{code}
Test then goes on to fail with:
{code} 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)
{code}
Instead, have tests write rules to local test dir.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)