public class TestBalancerRejection extends StochasticBalancerTestBase
Modifier and Type | Class and Description |
---|---|
(package private) static class |
TestBalancerRejection.MockCostFunction |
BalancerTestBase.MockMapping
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
dummyMetricsStochasticBalancer, loadBalancer
clusterStateMocks, clusterStateMocksWithNoSlop, clusterStateMocksWithSlop, conf, largeCluster, regionId
Constructor and Description |
---|
TestBalancerRejection() |
Modifier and Type | Method and Description |
---|---|
private List<org.apache.hadoop.hbase.client.LogEntry> |
getBalancerRejectionLogEntries(org.apache.hadoop.hbase.master.balancer.MasterClusterInfoProvider provider) |
void |
testBalancerRejections() |
beforeAllTests, testWithCluster, testWithCluster, testWithClusterWithIteration, testWithClusterWithIteration
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
public static final HBaseClassTestRule CLASS_RULE
public TestBalancerRejection()
public void testBalancerRejections() throws Exception
Exception
private List<org.apache.hadoop.hbase.client.LogEntry> getBalancerRejectionLogEntries(org.apache.hadoop.hbase.master.balancer.MasterClusterInfoProvider provider)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.