public class TestStochasticBalancerJmxMetrics extends org.apache.hadoop.hbase.master.balancer.BalancerTestBase
org.apache.hadoop.hbase.master.balancer.BalancerTestBase.MockMapping| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
clusterStateMocks, largeCluster| Constructor and Description |
|---|
TestStochasticBalancerJmxMetrics() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setupBeforeClass()
Setup the environment for the test.
|
static void |
tearDownAfterClass() |
void |
testJmxMetrics_EnsembleMode()
In Ensemble mode, there should be only one ensemble table
|
void |
testJmxMetrics_PerTableMode()
In per-table mode, each table has a set of metrics
|
assertClusterAsBalanced, assertClusterOverallAsBalanced, assertRegionReplicaPlacement, beforeAllTests, convertToList, createServerMap, mockCluster, mockClusterServers, mockClusterServers, mockClusterServersWithTables, mockUniformClusterServers, printMock, printStats, randomRegions, randomRegions, randomServer, randomServers, reconcile, returnRegions, returnServer, returnServers, testWithCluster, testWithCluster, uniformRegions, updateLoadpublic static final HBaseClassTestRule CLASS_RULE
public TestStochasticBalancerJmxMetrics()
public static void setupBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testJmxMetrics_EnsembleMode() throws Exception
Exceptionpublic void testJmxMetrics_PerTableMode() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.