public class TestRegionStates extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static ExecutorCompletionService<Object> |
executorService |
private static org.slf4j.Logger |
LOG |
private static ThreadPoolExecutor |
threadPool |
protected static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestRegionStates() |
Modifier and Type | Method and Description |
---|---|
private void |
addRegionNode(org.apache.hadoop.hbase.master.assignment.RegionStates stateMap,
org.apache.hadoop.hbase.TableName tableName,
long regionId) |
private void |
checkTableRegions(org.apache.hadoop.hbase.master.assignment.RegionStates stateMap,
org.apache.hadoop.hbase.TableName tableName,
int nregions) |
private org.apache.hadoop.hbase.client.RegionInfo |
createRegionInfo(org.apache.hadoop.hbase.TableName tableName,
long regionId) |
static void |
setUp() |
static void |
tearDown() |
void |
testPerf() |
void |
testPerfSingleThread() |
void |
testRegionDoubleCreation() |
void |
testSetup() |
void |
testTearDown() |
private static void |
waitExecutorService(int count) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
protected static final HBaseTestingUtility UTIL
private static ThreadPoolExecutor threadPool
private static ExecutorCompletionService<Object> executorService
public TestRegionStates()
public void testSetup()
public void testTearDown() throws Exception
Exception
private static void waitExecutorService(int count) throws Exception
Exception
public void testRegionDoubleCreation() throws Exception
Exception
private void checkTableRegions(org.apache.hadoop.hbase.master.assignment.RegionStates stateMap, org.apache.hadoop.hbase.TableName tableName, int nregions)
private void addRegionNode(org.apache.hadoop.hbase.master.assignment.RegionStates stateMap, org.apache.hadoop.hbase.TableName tableName, long regionId)
private org.apache.hadoop.hbase.client.RegionInfo createRegionInfo(org.apache.hadoop.hbase.TableName tableName, long regionId)
public void testPerfSingleThread()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.