public class TestMinorCompaction extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private byte[] |
col1 |
private byte[] |
col2 |
private int |
compactionThreshold |
protected org.apache.hadoop.conf.Configuration |
conf |
private byte[] |
firstRowBytes |
private org.apache.hadoop.hbase.HTableDescriptor |
htd |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private org.apache.hadoop.hbase.regionserver.HRegion |
r |
private byte[] |
secondRowBytes |
private byte[] |
thirdRowBytes |
private static HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestMinorCompaction()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
private void |
testMinorCompactionWithDelete(org.apache.hadoop.hbase.client.Delete delete) |
private void |
testMinorCompactionWithDelete(org.apache.hadoop.hbase.client.Delete delete,
int expectedResultsAfterDelete) |
void |
testMinorCompactionWithDeleteColumn1() |
void |
testMinorCompactionWithDeleteColumn2() |
void |
testMinorCompactionWithDeleteColumnFamily() |
void |
testMinorCompactionWithDeleteRow() |
void |
testMinorCompactionWithDeleteVersion1() |
void |
testMinorCompactionWithDeleteVersion2() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility UTIL
protected org.apache.hadoop.conf.Configuration conf
private org.apache.hadoop.hbase.regionserver.HRegion r
private org.apache.hadoop.hbase.HTableDescriptor htd
private int compactionThreshold
private byte[] firstRowBytes
private byte[] secondRowBytes
private byte[] thirdRowBytes
private final byte[] col1
private final byte[] col2
public TestMinorCompaction()
public void testMinorCompactionWithDeleteRow() throws Exception
Exceptionpublic void testMinorCompactionWithDeleteColumn1() throws Exception
Exceptionpublic void testMinorCompactionWithDeleteColumn2() throws Exception
Exceptionpublic void testMinorCompactionWithDeleteColumnFamily() throws Exception
Exceptionpublic void testMinorCompactionWithDeleteVersion1() throws Exception
Exceptionpublic void testMinorCompactionWithDeleteVersion2() throws Exception
Exceptionprivate void testMinorCompactionWithDelete(org.apache.hadoop.hbase.client.Delete delete) throws Exception
Exceptionprivate void testMinorCompactionWithDelete(org.apache.hadoop.hbase.client.Delete delete, int expectedResultsAfterDelete) throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.