public class TestStochasticLoadBalancerRegionReplica extends BalancerTestBase
| Modifier and Type | Class and Description |
|---|---|
private static class |
TestStochasticLoadBalancerRegionReplica.ForTestRackManagerOne |
BalancerTestBase.MockMapping| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
clusterStateMocks, clusterStateMocksWithNoSlop, clusterStateMocksWithSlop, conf, dummyMetricsStochasticBalancer, largeCluster, loadBalancer, regionId| Constructor and Description |
|---|
TestStochasticLoadBalancerRegionReplica() |
| Modifier and Type | Method and Description |
|---|---|
void |
testNeedsBalanceForColocatedReplicas() |
void |
testRegionReplicasOnSmallCluster() |
void |
testReplicaCost() |
void |
testReplicaCostForReplicas() |
assertClusterAsBalanced, assertClusterOverallAsBalanced, assertRegionReplicaPlacement, beforeAllTests, convertToList, createRegions, createServerMap, mockCluster, mockClusterServers, mockClusterServers, mockClusterServers, mockClusterServersWithTables, mockUniformClusterServers, printMock, printStats, randomRegions, randomRegions, randomServer, randomServers, reconcile, returnRegions, returnServer, returnServers, testWithCluster, testWithCluster, testWithClusterWithIteration, testWithClusterWithIteration, uniformRegions, updateLoadpublic static final HBaseClassTestRule CLASS_RULE
public TestStochasticLoadBalancerRegionReplica()
public void testReplicaCost()
public void testReplicaCostForReplicas()
public void testNeedsBalanceForColocatedReplicas()
public void testRegionReplicasOnSmallCluster()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.