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, hfileCleanerPool, htu, logCleanerPool, 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, createMasterRegion, setUp, tearDown
public 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 MasterRegionTestBase
protected void postSetUp() throws IOException
postSetUp
in class MasterRegionTestBase
IOException
private int getStorefilesCount()
private void assertFileCount(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path storeArchiveDir, int expected) throws IOException
IOException
public void test() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.