public class TestMobCompactor
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestMobCompactor.CompactTwoLatestHfilesCopro
This copro overwrites the default compaction policy.
|
| Constructor and Description |
|---|
TestMobCompactor() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp(java.lang.String tableNameAsString) |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testCompactionWithHFileLink() |
void |
testGetAfterCompaction()
This case tests the following mob compaction and normal compaction scenario,
after mob compaction, the mob reference in new bulkloaded hfile will win even after it
is compacted with some other normal hfiles.
|
void |
testMajorCompactionFromAdmin() |
void |
testMinorCompaction() |
void |
testScannerOnBulkLoadRefHFiles() |
public static void setUpBeforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic static void tearDownAfterClass()
throws java.lang.Exception
java.lang.Exceptionpublic void setUp(java.lang.String tableNameAsString)
throws java.io.IOException
java.io.IOExceptionpublic void testMinorCompaction()
throws java.lang.Exception
java.lang.Exceptionpublic void testCompactionWithHFileLink()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testMajorCompactionFromAdmin()
throws java.lang.Exception
java.lang.Exceptionpublic void testScannerOnBulkLoadRefHFiles()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetAfterCompaction()
throws java.lang.Exception
java.lang.Exception