public class TestStochasticLoadBalancerRegionReplicaWithRacks extends StochasticBalancerTestBase
Modifier and Type | Class and Description |
---|---|
private static class |
TestStochasticLoadBalancerRegionReplicaWithRacks.ForTestRackManager |
BalancerTestBase.MockMapping
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
dummyMetricsStochasticBalancer, loadBalancer
clusterStateMocks, clusterStateMocksWithNoSlop, clusterStateMocksWithSlop, conf, largeCluster, regionId
Constructor and Description |
---|
TestStochasticLoadBalancerRegionReplicaWithRacks() |
Modifier and Type | Method and Description |
---|---|
void |
testRegionReplicationOnLargeClusterWithRacks() |
void |
testRegionReplicationOnMidClusterWithRacks() |
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
public TestStochasticLoadBalancerRegionReplicaWithRacks()
public void testRegionReplicationOnMidClusterWithRacks()
public void testRegionReplicationOnLargeClusterWithRacks()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.