Package org.apache.hadoop.hbase
Class TestClientClusterMetrics
java.lang.Object
org.apache.hadoop.hbase.TestClientClusterMetrics
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Adminprivate static final byte[]static final HBaseClassTestRuleprivate static MiniHBaseClusterprivate static org.apache.hadoop.hbase.regionserver.HRegionServerprivate static final intprivate static final intprivate static final org.apache.hadoop.hbase.TableNameprivate static HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.client.ConnectioncreateConnection(org.apache.hadoop.conf.Configuration conf) private voiddoGet()private voiddoPut()private org.apache.hadoop.hbase.RegionMetricsprivate static voidinsertData(org.apache.hadoop.hbase.TableName tableName, int startRow, int rowCount) static voidstatic voidvoidvoidvoidvoidvoidvoidvoidvoidvoidprivate voidwaitForUsersMetrics(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
-
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
-