Class TestStochasticLoadBalancerHeterogeneousCostRulesLoadFromHDFS
java.lang.Object
org.apache.hadoop.hbase.master.balancer.BalancerTestBase
org.apache.hadoop.hbase.master.balancer.StochasticBalancerTestBase
org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancerHeterogeneousCostRulesLoadFromHDFS
public class TestStochasticLoadBalancerHeterogeneousCostRulesLoadFromHDFS
extends StochasticBalancerTestBase
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.master.balancer.BalancerTestBase
BalancerTestBase.MockMapping
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.hbase.master.balancer.HeterogeneousRegionCountCostFunction
private static final HBaseTestingUtil
Fields inherited from class org.apache.hadoop.hbase.master.balancer.StochasticBalancerTestBase
dummyMetricsStochasticBalancer, loadBalancer
Fields inherited from class org.apache.hadoop.hbase.master.balancer.BalancerTestBase
clusterStateMocks, clusterStateMocksWithNoSlop, clusterStateMocksWithSlop, conf, largeCluster, regionId
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.master.balancer.StochasticBalancerTestBase
beforeAllTests, testWithCluster, testWithCluster, testWithClusterWithIteration, testWithClusterWithIteration
Methods inherited from class org.apache.hadoop.hbase.master.balancer.BalancerTestBase
assertClusterAsBalanced, assertClusterOverallAsBalanced, assertRegionReplicaPlacement, convertToList, createRegions, createServerMap, mockCluster, mockClusterServers, mockClusterServers, mockClusterServers, mockClusterServersUnsorted, mockClusterServersWithTables, mockUniformClusterServers, printMock, printStats, randomRegions, randomRegions, randomServer, randomServers, reconcile, returnRegions, returnServer, returnServers, uniformRegions, updateLoad
-
Field Details
-
CLASS_RULE
-
costFunction
-
HTU
-
-
Constructor Details
-
TestStochasticLoadBalancerHeterogeneousCostRulesLoadFromHDFS
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
IOException
-
testLoadingFomHDFS
- Throws:
Exception
-