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, testIfWeHaveNewReferenceFilesButOldStoreFiles
public static final HBaseClassTestRule CLASS_RULE
public TestMajorCompactionTTLRequest()
public void setUp() throws Exception
setUp
in class TestMajorCompactionRequest
Exception
public void testStoresNeedingCompaction() throws Exception
testStoresNeedingCompaction
in class TestMajorCompactionRequest
Exception
private org.apache.hadoop.hbase.util.compaction.MajorCompactionTTLRequest makeMockRequest(List<org.apache.hadoop.hbase.regionserver.StoreFileInfo> storeFiles) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.