Class TestMasterRegionCompaction
java.lang.Object
org.apache.hadoop.hbase.master.region.MasterRegionTestBase
org.apache.hadoop.hbase.master.region.TestMasterRegionCompaction
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private int
private org.apache.hadoop.hbase.master.cleaner.HFileCleaner
Fields inherited from class org.apache.hadoop.hbase.master.region.MasterRegionTestBase
CF1, CF2, choreService, hfileCleanerPool, htu, logCleanerPool, QUALIFIER, region, REGION_DIR_NAME, TD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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
protected void
void
test()
Methods inherited from class org.apache.hadoop.hbase.master.region.MasterRegionTestBase
configure, createMasterRegion, setUp, tearDown
-
Field Details
-
CLASS_RULE
-
compactMin
-
hfileCleaner
-
-
Constructor Details
-
TestMasterRegionCompaction
public TestMasterRegionCompaction()
-
-
Method Details
-
configure
- Overrides:
configure
in classMasterRegionTestBase
-
postSetUp
- Overrides:
postSetUp
in classMasterRegionTestBase
- Throws:
IOException
-
getStorefilesCount
-
assertFileCount
private void assertFileCount(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path storeArchiveDir, int expected) throws IOException - Throws:
IOException
-
test
- Throws:
IOException
InterruptedException
-