public class TestMajorCompaction
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
conf |
TestName |
name |
| Constructor and Description |
|---|
TestMajorCompaction()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
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 |
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 void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testMajorCompactingToNoOutput()
throws java.io.IOException
java.io.IOExceptionpublic void testMajorCompaction()
throws java.lang.Exception
java.lang.Exceptionpublic void testDataBlockEncodingInCacheOnly()
throws java.lang.Exception
java.lang.Exceptionpublic void testDataBlockEncodingEverywhere()
throws java.lang.Exception
java.lang.Exceptionpublic void majorCompactionWithDataBlockEncoding(boolean inCacheOnly)
throws java.lang.Exception
java.lang.Exceptionpublic void testTimeBasedMajorCompaction()
throws java.lang.Exception
java.lang.Exceptionpublic void testNonUserMajorCompactionRequest()
throws java.lang.Exception
java.lang.Exceptionpublic void testUserMajorCompactionRequest()
throws java.io.IOException
java.io.IOExceptionpublic void testMajorCompactingToNoOutputWithReverseScan()
throws java.io.IOException
java.io.IOException