public class TestStochasticLoadBalancerHeterogeneousCostRulesLoadFromHDFS extends StochasticBalancerTestBase
BalancerTestBase.MockMapping
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hbase.master.balancer.HeterogeneousRegionCountCostFunction |
costFunction |
private static HBaseTestingUtil |
HTU |
dummyMetricsStochasticBalancer, loadBalancer
clusterStateMocks, clusterStateMocksWithNoSlop, clusterStateMocksWithSlop, conf, largeCluster, regionId
Constructor and Description |
---|
TestStochasticLoadBalancerHeterogeneousCostRulesLoadFromHDFS() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
tearDown() |
void |
testLoadingFomHDFS() |
beforeAllTests, testWithCluster, testWithCluster, testWithClusterWithIteration, testWithClusterWithIteration
assertClusterAsBalanced, assertClusterOverallAsBalanced, assertRegionReplicaPlacement, convertToList, createRegions, createServerMap, mockCluster, mockClusterServers, mockClusterServers, mockClusterServers, mockClusterServersWithTables, mockUniformClusterServers, printMock, printStats, randomRegions, randomRegions, randomServer, randomServers, reconcile, returnRegions, returnServer, returnServers, uniformRegions, updateLoad
public static final HBaseClassTestRule CLASS_RULE
private org.apache.hadoop.hbase.master.balancer.HeterogeneousRegionCountCostFunction costFunction
private static final HBaseTestingUtil HTU
public TestStochasticLoadBalancerHeterogeneousCostRulesLoadFromHDFS()
public void tearDown() throws IOException
IOException
public void testLoadingFomHDFS() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.