Package org.apache.hadoop.hbase.master
Class TestRegionsRecoveryChore
java.lang.Object
org.apache.hadoop.hbase.master.TestRegionsRecoveryChore
Test for RegionsRecoveryChore
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
Simple helper class that just keeps track of whether or not its stopped. -
Field Summary
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.master.assignment.AssignmentManager
static final HBaseClassTestRule
private static final HBaseTestingUtil
private org.apache.hadoop.hbase.master.HMaster
private static final org.slf4j.Logger
static final byte[][]
private static int
private org.apache.hadoop.hbase.master.RegionsRecoveryChore
private static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.hbase.ClusterMetrics
getClusterMetrics
(int noOfLiveServer) private org.apache.hadoop.conf.Configuration
private static org.apache.hadoop.hbase.client.RegionInfo
getRegionInfo
(byte[] regionNameBytes) private static org.apache.hadoop.hbase.RegionMetrics
getRegionMetrics
(byte[] regionName, int compactedStoreRefCount) private static org.apache.hadoop.hbase.ServerMetrics
getServerMetrics
(int noOfRegions) void
setUp()
void
tearDown()
void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
HBASE_TESTING_UTILITY
-
UTF_8_CHARSET
-
hMaster
-
assignmentManager
-
regionsRecoveryChore
-
regionNo
-
REGION_NAME_LIST
-
-
Constructor Details
-
TestRegionsRecoveryChore
public TestRegionsRecoveryChore()
-
-
Method Details
-
getCustomConf
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testRegionReopensWithStoreRefConfig
- Throws:
Exception
-
testRegionReopensWithLessThreshold
- Throws:
Exception
-
testRegionReopensWithoutStoreRefConfig
- Throws:
Exception
-
getClusterMetrics
-
getServerMetrics
-
getRegionMetrics
private static org.apache.hadoop.hbase.RegionMetrics getRegionMetrics(byte[] regionName, int compactedStoreRefCount) -
getRegionInfo
-