Class TestBalancerRejection
java.lang.Object
org.apache.hadoop.hbase.master.balancer.BalancerTestBase
org.apache.hadoop.hbase.master.balancer.StochasticBalancerTestBase
org.apache.hadoop.hbase.master.balancer.TestBalancerRejection
Test BalancerRejection ring buffer using namedQueue interface
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.master.balancer.BalancerTestBase
BalancerTestBase.MockMapping
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.master.balancer.StochasticBalancerTestBase
dummyMetricsStochasticBalancer, loadBalancer
Fields inherited from class org.apache.hadoop.hbase.master.balancer.BalancerTestBase
clusterStateMocks, clusterStateMocksWithNoSlop, clusterStateMocksWithSlop, conf, largeCluster, regionId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate List<org.apache.hadoop.hbase.client.LogEntry>
getBalancerRejectionLogEntries
(org.apache.hadoop.hbase.master.balancer.MasterClusterInfoProvider provider) void
Methods inherited from class org.apache.hadoop.hbase.master.balancer.StochasticBalancerTestBase
beforeAllTests, testWithCluster, testWithCluster, testWithClusterWithIteration, testWithClusterWithIteration
Methods inherited from class org.apache.hadoop.hbase.master.balancer.BalancerTestBase
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
-
Field Details
-
CLASS_RULE
-
-
Constructor Details
-
TestBalancerRejection
public TestBalancerRejection()
-
-
Method Details
-
testBalancerRejections
- Throws:
Exception
-
getBalancerRejectionLogEntries
private List<org.apache.hadoop.hbase.client.LogEntry> getBalancerRejectionLogEntries(org.apache.hadoop.hbase.master.balancer.MasterClusterInfoProvider provider)
-