Package org.apache.hadoop.hbase
Class TestClientClusterMetrics
java.lang.Object
org.apache.hadoop.hbase.TestClientClusterMetrics
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Admin
private static final byte[]
static final HBaseClassTestRule
private static SingleProcessHBaseCluster
private static org.apache.hadoop.hbase.regionserver.HRegionServer
private static final int
private static final int
private static final org.apache.hadoop.hbase.TableName
private static HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.client.Connection
createConnection
(org.apache.hadoop.conf.Configuration conf) private void
doGet()
private void
doPut()
private org.apache.hadoop.hbase.RegionMetrics
private static void
insertData
(org.apache.hadoop.hbase.TableName tableName, int startRow, int rowCount) static void
static void
void
void
void
void
void
void
void
void
void
void
private void
waitForUsersMetrics
(int noOfUsers)
-
Field Details
-
CLASS_RULE
-
UTIL
-
ADMIN
-
SLAVES
- See Also:
-
MASTERS
- See Also:
-
CLUSTER
-
DEAD
-
TABLE_NAME
-
CF
-
-
Constructor Details
-
TestClientClusterMetrics
public TestClientClusterMetrics()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
testDefaults
- Throws:
Exception
-
testAsyncClient
- Throws:
Exception
-
testLiveAndDeadServersStatus
- Throws:
Exception
-
testRegionStatesCount
- Throws:
Exception
-
testRegionStatesWithSplit
- Throws:
Exception
-
testMasterAndBackupMastersStatus
- Throws:
Exception
-
testUserMetrics
- Throws:
Exception
-
testServerTasks
- Throws:
Exception
-
getMetaMetrics
- Throws:
IOException
-
waitForUsersMetrics
- Throws:
Exception
-
doPut
- Throws:
IOException
-
doGet
- Throws:
IOException
-
createConnection
private org.apache.hadoop.hbase.client.Connection createConnection(org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
IOException
-
testOtherStatusInfos
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testObserver
- Throws:
IOException
-
insertData
private static void insertData(org.apache.hadoop.hbase.TableName tableName, int startRow, int rowCount) throws IOException - Throws:
IOException
-