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
IOException
public static void setEnvironmentEdge() throws Exception
Exception
public static void resetEnvironmentEdge() throws Exception
Exception
public void testPurgeExpiredFiles() throws Exception
Exception
public void testSanityCheckTTL() throws IOException
IOException
public void testSanityCheckMinVersion() throws IOException
IOException
public void testSanityCheckBlockingStoreFiles() throws IOException
IOException
public void testFIFOCompactionPolicyExpiredEmptyHFiles() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.