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, tearDownAfterClass
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
public static final HBaseClassTestRule CLASS_RULE
public TestAsyncRegionAdminApi()
public void testAssignRegionAndUnassignRegion() throws Exception
Exception
org.apache.hadoop.hbase.client.RegionInfo createTableAndGetOneRegion(org.apache.hadoop.hbase.TableName tableName) throws IOException, InterruptedException, ExecutionException
public void testGetRegionByStateOfTable() throws Exception
Exception
public void testMoveRegion() throws Exception
Exception
public void testGetOnlineRegions() throws Exception
Exception
public void testFlushTableAndRegion() throws Exception
Exception
private void waitUntilMobCompactionFinished(org.apache.hadoop.hbase.TableName tableName) throws ExecutionException, InterruptedException
public void testCompactMob() throws Exception
Exception
public void testCompactRegionServer() throws Exception
Exception
public void testCompactionSwitchStates() throws Exception
Exception
public void testCompact() throws Exception
Exception
private void compactionTest(org.apache.hadoop.hbase.TableName tableName, int flushes, org.apache.hadoop.hbase.client.CompactionState expectedState, boolean singleFamily) throws Exception
Exception
public 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
IOException
static void loadData(org.apache.hadoop.hbase.TableName tableName, byte[][] families, int rows, int flushes) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.