public class TestMajorCompaction extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
protected org.apache.hadoop.conf.Configuration |
conf |
org.junit.rules.TestName |
name |
| Constructor and Description |
|---|
TestMajorCompaction(String compType)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static Object[] |
data() |
void |
majorCompactionWithDataBlockEncoding(boolean inCacheOnly) |
void |
setUp() |
void |
tearDown() |
void |
testDataBlockEncodingEverywhere() |
void |
testDataBlockEncodingInCacheOnly() |
void |
testMajorCompactingToNoOutput()
Test that on a major compaction, if all cells are expired or deleted, then
we'll end up with no product.
|
void |
testMajorCompactingToNoOutputWithReverseScan()
Test that on a major compaction, if all cells are expired or deleted, then we'll end up with no
product.
|
void |
testMajorCompactingWithKeepDeletedCells()
Test that on a major compaction,Deleted cells are retained if keep deleted cells is set to true
|
void |
testMajorCompaction()
Run compaction and flushing memstore
Assert deletes get cleaned up.
|
void |
testNonUserMajorCompactionRequest()
Test for HBASE-5920 - Test user requested major compactions always occurring
|
void |
testTimeBasedMajorCompaction() |
void |
testUserMajorCompactionRequest()
Test for HBASE-5920
|
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
protected org.apache.hadoop.conf.Configuration conf
public TestMajorCompaction(String compType)
public void testMajorCompactingToNoOutput() throws IOException
IOException - exception encounteredpublic void testMajorCompactingWithKeepDeletedCells() throws IOException
IOException - exception encounteredpublic void testMajorCompaction() throws Exception
Exceptionpublic void testDataBlockEncodingInCacheOnly() throws Exception
Exceptionpublic void testDataBlockEncodingEverywhere() throws Exception
Exceptionpublic void majorCompactionWithDataBlockEncoding(boolean inCacheOnly) throws Exception
Exceptionpublic void testTimeBasedMajorCompaction() throws Exception
Exceptionpublic void testNonUserMajorCompactionRequest() throws Exception
Exceptionpublic void testUserMajorCompactionRequest() throws IOException
IOExceptionpublic void testMajorCompactingToNoOutputWithReverseScan() throws IOException
IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.