Package org.apache.hadoop.hbase
Class TestRegionMetrics
java.lang.Object
org.apache.hadoop.hbase.TestRegionMetrics
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
private static final org.slf4j.Logger
private static final int
private static final org.apache.hadoop.hbase.TableName
private static final org.apache.hadoop.hbase.TableName
private static final org.apache.hadoop.hbase.TableName
private static final org.apache.hadoop.hbase.TableName[]
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
private void
checkMetricsValue
(List<org.apache.hadoop.hbase.RegionMetrics> regionMetrics, org.apache.hadoop.hbase.ServerMetrics serverMetrics) private void
checkRegionsAndRegionMetrics
(Collection<org.apache.hadoop.hbase.client.RegionInfo> regions, Collection<org.apache.hadoop.hbase.RegionMetrics> regionMetrics) void
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
admin
-
TABLE_1
-
TABLE_2
-
TABLE_3
-
tables
-
MSG_INTERVAL
- See Also:
-
-
Constructor Details
-
TestRegionMetrics
public TestRegionMetrics()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
testRegionMetrics
- Throws:
Exception
-
checkMetricsValue
private void checkMetricsValue(List<org.apache.hadoop.hbase.RegionMetrics> regionMetrics, org.apache.hadoop.hbase.ServerMetrics serverMetrics) throws InvocationTargetException, IllegalAccessException -
checkRegionsAndRegionMetrics
private void checkRegionsAndRegionMetrics(Collection<org.apache.hadoop.hbase.client.RegionInfo> regions, Collection<org.apache.hadoop.hbase.RegionMetrics> regionMetrics)
-