Package org.apache.hadoop.hbase.master
Class TestMasterMetrics
java.lang.Object
org.apache.hadoop.hbase.master.TestMasterMetrics
@Tag("org.apache.hadoop.hbase.testclassification.MasterTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestMasterMetrics
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static SingleProcessHBaseClusterprivate static final Stringprivate static final org.slf4j.Loggerprivate static org.apache.hadoop.hbase.master.HMasterprivate static final MetricsAssertHelperprivate static HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidafter()private voidcreateTableDescriptorOnFileSystem(String namespace, String qualifier, List<org.apache.hadoop.hbase.TableName> tableNameList) private Map<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.client.RegionStatesCount> static voidvoidvoidvoidvoidvoidvoid
-
Field Details
-
LOG
-
metricsHelper
-
COLUMN_FAMILY
- See Also:
-
cluster
-
master
-
TEST_UTIL
-
-
Constructor Details
-
TestMasterMetrics
public TestMasterMetrics()
-
-
Method Details
-
startCluster
- Throws:
Exception
-
after
- Throws:
Exception
-
testClusterRequests
- Throws:
Exception
-
testDefaultMasterMetrics
- Throws:
Exception
-
testDefaultMasterProcMetrics
-
testClusterMetricsSkippingForeignMetaTable
- Throws:
Exception
-
testClusterMetricsSkippingCachedForeignTables
- Throws:
Exception
-
testClusterMetricsSkippingForeignTablesOnFileSystem
- Throws:
IOException
-
getTableRegionStatesCount
private Map<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.client.RegionStatesCount> getTableRegionStatesCount() throws InterruptedIOException- Throws:
InterruptedIOException
-
createTableDescriptorOnFileSystem
private void createTableDescriptorOnFileSystem(String namespace, String qualifier, List<org.apache.hadoop.hbase.TableName> tableNameList) throws IOException - Throws:
IOException
-