Class TestUnattainableBalancerCostGoal

java.lang.Object
org.apache.hadoop.hbase.master.balancer.TestUnattainableBalancerCostGoal

@Tag("org.apache.hadoop.hbase.testclassification.MasterTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests") public class TestUnattainableBalancerCostGoal extends Object
If your minCostNeedsBalance is set too low, then the balancer should still eventually stop making moves as further cost improvements become impossible, and balancer plan calculation becomes wasteful. This test ensures that the balancer will not get stuck in a loop of continuously moving regions.