public class TestBalancerDecision extends BalancerTestBase
BalancerTestBase.MockMapping
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
clusterStateMocks, clusterStateMocksWithNoSlop, clusterStateMocksWithSlop, conf, dummyMetricsStochasticBalancer, largeCluster, loadBalancer, regionId
Constructor and Description |
---|
TestBalancerDecision() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
needsBalanceIdleRegion(int[] cluster) |
void |
testBalancerDecisions() |
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, updateLoad
public static final HBaseClassTestRule CLASS_RULE
public TestBalancerDecision()
public void testBalancerDecisions()
private static boolean needsBalanceIdleRegion(int[] cluster)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.