Class TestMetaTableMetrics
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestMetaTableMetrics
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]private static final org.apache.hadoop.hbase.client.ColumnFamilyDescriptorstatic final HBaseClassTestRuleprivate final byte[]private static intprivate static final byte[]private static final org.slf4j.Loggerprivate static final Stringprivate static final org.apache.hadoop.hbase.TableNameprivate final intprivate static final intprivate static final byte[]private byte[]private static final HBaseTestingUtilprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidgetData(int nrows) private voidputData(int nrows) Read the attributes from Hadoop->HBase->RegionServer->MetaTableMetrics in JMXprivate voidreadWriteData(org.apache.hadoop.hbase.TableName tableName) static voidprivate voidstartThreadsAndWaitToJoin(Thread[] threads) static voidtearDown()voidvoid
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
NAME1
-
FAMILY
-
QUALIFIER
-
CFD
-
NUM_ROWS
- See Also:
-
value
- See Also:
-
METRICS_ATTRIBUTE_NAME_PREFIX
- See Also:
-
METRICS_ATTRIBUTE_NAME_POSTFIXES
-
connectorPort
-
cf
-
col
-
tablename
-
nthreads
- See Also:
-
-
Constructor Details
-
TestMetaTableMetrics
public TestMetaTableMetrics()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testMetaTableMetricsInJmx
- Throws:
Exception
-
testConcurrentAccess
-
readWriteData
- Throws:
IOException
-
containsPositiveJmxAttributesFor
-
readMetaTableJmxMetrics
Read the attributes from Hadoop->HBase->RegionServer->MetaTableMetrics in JMX- Throws:
IOException- when fails to retrieve jmx metrics.
-
putData
- Throws:
InterruptedException
-
getData
- Throws:
InterruptedException
-
startThreadsAndWaitToJoin
- Throws:
InterruptedException
-