public class TestAsyncRegionAdminApi extends TestAsyncAdminBase
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestAsyncRegionAdminApi() |
| Modifier and Type | Method and Description |
|---|---|
private void |
compactionTest(org.apache.hadoop.hbase.TableName tableName,
int flushes,
org.apache.hadoop.hbase.client.CompactionState expectedState,
boolean singleFamily) |
private static int |
countStoreFilesInFamilies(List<org.apache.hadoop.hbase.regionserver.Region> regions,
byte[][] families) |
private static int |
countStoreFilesInFamily(List<org.apache.hadoop.hbase.regionserver.Region> regions,
byte[] family) |
(package private) org.apache.hadoop.hbase.client.RegionInfo |
createTableAndGetOneRegion(org.apache.hadoop.hbase.TableName tableName) |
(package private) static void |
loadData(org.apache.hadoop.hbase.TableName tableName,
byte[][] families,
int rows) |
(package private) static void |
loadData(org.apache.hadoop.hbase.TableName tableName,
byte[][] families,
int rows,
int flushes) |
void |
testAssignRegionAndUnassignRegion() |
void |
testCompact() |
void |
testCompactionSwitchStates() |
void |
testCompactMob() |
void |
testCompactRegionServer() |
void |
testFlushTableAndRegion() |
void |
testGetOnlineRegions() |
void |
testGetRegionByStateOfTable() |
void |
testMoveRegion() |
void |
testNonExistentTableCompaction() |
private void |
testNonExistentTableCompaction(org.apache.hadoop.hbase.client.CompactionState compactionState) |
private void |
waitUntilMobCompactionFinished(org.apache.hadoop.hbase.TableName tableName) |
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, setUpBeforeClass, tearDown, tearDownAfterClassaddResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFilespublic static final HBaseClassTestRule CLASS_RULE
public TestAsyncRegionAdminApi()
public void testAssignRegionAndUnassignRegion() throws Exception
Exceptionorg.apache.hadoop.hbase.client.RegionInfo createTableAndGetOneRegion(org.apache.hadoop.hbase.TableName tableName) throws IOException, InterruptedException, ExecutionException
public void testGetRegionByStateOfTable() throws Exception
Exceptionpublic void testMoveRegion() throws Exception
Exceptionpublic void testGetOnlineRegions() throws Exception
Exceptionpublic void testFlushTableAndRegion() throws Exception
Exceptionprivate void waitUntilMobCompactionFinished(org.apache.hadoop.hbase.TableName tableName) throws ExecutionException, InterruptedException
public void testCompactMob() throws Exception
Exceptionpublic void testCompactRegionServer() throws Exception
Exceptionpublic void testCompactionSwitchStates() throws Exception
Exceptionpublic void testCompact() throws Exception
Exceptionprivate void compactionTest(org.apache.hadoop.hbase.TableName tableName, int flushes, org.apache.hadoop.hbase.client.CompactionState expectedState, boolean singleFamily) throws Exception
Exceptionpublic void testNonExistentTableCompaction()
private void testNonExistentTableCompaction(org.apache.hadoop.hbase.client.CompactionState compactionState)
private static int countStoreFilesInFamily(List<org.apache.hadoop.hbase.regionserver.Region> regions, byte[] family)
private static int countStoreFilesInFamilies(List<org.apache.hadoop.hbase.regionserver.Region> regions, byte[][] families)
static void loadData(org.apache.hadoop.hbase.TableName tableName, byte[][] families, int rows) throws IOException
IOExceptionstatic void loadData(org.apache.hadoop.hbase.TableName tableName, byte[][] families, int rows, int flushes) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.