public class TestMajorCompactionTTLRequest extends TestMajorCompactionRequest
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
FAMILY, regionStoreDir, rootRegionDir, UTILITY| Constructor and Description |
|---|
TestMajorCompactionTTLRequest() |
| Modifier and Type | Method and Description |
|---|---|
private org.apache.hadoop.hbase.util.compaction.MajorCompactionTTLRequest |
makeMockRequest(List<org.apache.hadoop.hbase.regionserver.StoreFileInfo> storeFiles) |
void |
setUp() |
void |
testStoresNeedingCompaction() |
mockFileSystem, mockStoreFiles, testIfWeHaveNewReferenceFilesButOldStoreFilespublic static final HBaseClassTestRule CLASS_RULE
public TestMajorCompactionTTLRequest()
public void setUp() throws Exception
setUp in class TestMajorCompactionRequestExceptionpublic void testStoresNeedingCompaction() throws Exception
testStoresNeedingCompaction in class TestMajorCompactionRequestExceptionprivate org.apache.hadoop.hbase.util.compaction.MajorCompactionTTLRequest makeMockRequest(List<org.apache.hadoop.hbase.regionserver.StoreFileInfo> storeFiles) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.