public class TestRegionsRecoveryChore extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
TestRegionsRecoveryChore.StoppableImplementation
Simple helper class that just keeps track of whether or not its stopped.
|
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.master.assignment.AssignmentManager |
assignmentManager |
static HBaseClassTestRule |
CLASS_RULE |
private static HBaseTestingUtility |
HBASE_TESTING_UTILITY |
private org.apache.hadoop.hbase.master.HMaster |
hMaster |
private static org.slf4j.Logger |
LOG |
static byte[][] |
REGION_NAME_LIST |
private static int |
regionNo |
private org.apache.hadoop.hbase.master.RegionsRecoveryChore |
regionsRecoveryChore |
private static String |
UTF_8_CHARSET |
Constructor and Description |
---|
TestRegionsRecoveryChore() |
Modifier and Type | Method and Description |
---|---|
private static org.apache.hadoop.hbase.ClusterMetrics |
getClusterMetrics(int noOfLiveServer) |
private org.apache.hadoop.conf.Configuration |
getCustomConf() |
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 |
testRegionReopensWithLessThreshold() |
void |
testRegionReopensWithoutStoreRefConfig() |
void |
testRegionReopensWithStoreRefConfig() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility HBASE_TESTING_UTILITY
private static final String UTF_8_CHARSET
private org.apache.hadoop.hbase.master.HMaster hMaster
private org.apache.hadoop.hbase.master.assignment.AssignmentManager assignmentManager
private org.apache.hadoop.hbase.master.RegionsRecoveryChore regionsRecoveryChore
private static int regionNo
public static final byte[][] REGION_NAME_LIST
public TestRegionsRecoveryChore()
private org.apache.hadoop.conf.Configuration getCustomConf()
public void testRegionReopensWithStoreRefConfig() throws Exception
Exception
public void testRegionReopensWithLessThreshold() throws Exception
Exception
public void testRegionReopensWithoutStoreRefConfig() throws Exception
Exception
private static org.apache.hadoop.hbase.ClusterMetrics getClusterMetrics(int noOfLiveServer)
private static org.apache.hadoop.hbase.ServerMetrics getServerMetrics(int noOfRegions)
private static org.apache.hadoop.hbase.RegionMetrics getRegionMetrics(byte[] regionName, int compactedStoreRefCount)
private static org.apache.hadoop.hbase.client.RegionInfo getRegionInfo(byte[] regionNameBytes)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.