public class TestFIFOCompactionPolicy extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.ExpectedException |
error |
private byte[] |
family |
private byte[] |
qualifier |
private org.apache.hadoop.hbase.TableName |
tableName |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestFIFOCompactionPolicy() |
| Modifier and Type | Method and Description |
|---|---|
private org.apache.hadoop.hbase.regionserver.HStore |
getStoreWithName(org.apache.hadoop.hbase.TableName tableName) |
private org.apache.hadoop.hbase.regionserver.HStore |
prepareData() |
static void |
resetEnvironmentEdge() |
static void |
setEnvironmentEdge() |
void |
testFIFOCompactionPolicyExpiredEmptyHFiles()
Unit test for HBASE-21504
|
void |
testPurgeExpiredFiles() |
void |
testSanityCheckBlockingStoreFiles() |
void |
testSanityCheckMinVersion() |
void |
testSanityCheckTTL() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private final org.apache.hadoop.hbase.TableName tableName
private final byte[] family
private final byte[] qualifier
public org.junit.rules.ExpectedException error
public TestFIFOCompactionPolicy()
private org.apache.hadoop.hbase.regionserver.HStore getStoreWithName(org.apache.hadoop.hbase.TableName tableName)
private org.apache.hadoop.hbase.regionserver.HStore prepareData() throws IOException
IOExceptionpublic static void setEnvironmentEdge() throws Exception
Exceptionpublic static void resetEnvironmentEdge() throws Exception
Exceptionpublic void testPurgeExpiredFiles() throws Exception
Exceptionpublic void testSanityCheckTTL() throws IOException
IOExceptionpublic void testSanityCheckMinVersion() throws IOException
IOExceptionpublic void testSanityCheckBlockingStoreFiles() throws IOException
IOExceptionpublic void testFIFOCompactionPolicyExpiredEmptyHFiles() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.