Class TestMetaTableMetrics
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestMetaTableMetrics
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final byte[]
private static final org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
static final HBaseClassTestRule
private final byte[]
private static int
private static final byte[]
private static final org.slf4j.Logger
private static final String
private static final org.apache.hadoop.hbase.TableName
private final int
private static final int
private static final byte[]
private byte[]
private static final HBaseTestingUtil
private static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
getData
(int nrows) private void
putData
(int nrows) Read the attributes from Hadoop->HBase->RegionServer->MetaTableMetrics in JMXprivate void
readWriteData
(org.apache.hadoop.hbase.TableName tableName) static void
private void
startThreadsAndWaitToJoin
(Thread[] threads) static void
tearDown()
void
void
-
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
-