public class TestMasterRegionCompaction extends MasterRegionTestBase
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private int |
compactMin |
private org.apache.hadoop.hbase.master.cleaner.HFileCleaner |
hfileCleaner |
CF1, CF2, choreService, cleanerPool, htu, QUALIFIER, region, REGION_DIR_NAME, TD| Constructor and Description |
|---|
TestMasterRegionCompaction() |
| Modifier and Type | Method and Description |
|---|---|
private void |
assertFileCount(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path storeArchiveDir,
int expected) |
protected void |
configure(org.apache.hadoop.hbase.master.region.MasterRegionParams params) |
private int |
getStorefilesCount() |
protected void |
postSetUp() |
void |
test() |
configure, setUp, tearDownpublic static final HBaseClassTestRule CLASS_RULE
private int compactMin
private org.apache.hadoop.hbase.master.cleaner.HFileCleaner hfileCleaner
public TestMasterRegionCompaction()
protected void configure(org.apache.hadoop.hbase.master.region.MasterRegionParams params)
configure in class MasterRegionTestBaseprotected void postSetUp() throws IOException
postSetUp in class MasterRegionTestBaseIOExceptionprivate int getStorefilesCount()
private void assertFileCount(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path storeArchiveDir, int expected) throws IOException
IOExceptionpublic void test() throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.