public class TestMobCompactor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestMobCompactor.CompactTwoLatestHfilesCopro
This copro overwrites the default compaction policy.
|
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
| Constructor and Description |
|---|
TestMobCompactor() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp(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 |
testMajorCompactionWithMonthlyPolicy() |
void |
testMajorCompactionWithWeeklyFollowedByMonthly() |
void |
testMajorCompactionWithWeeklyFollowedByMonthlyFollowedByDaily() |
void |
testMajorCompactionWithWeeklyFollowedByMonthlyFollowedByWeekly() |
void |
testMajorCompactionWithWeeklyPolicy() |
void |
testMinorCompaction() |
void |
testMinorCompactionWithMonthlyPolicy() |
void |
testMinorCompactionWithWeeklyPolicy() |
void |
testScannerOnBulkLoadRefHFiles() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
public TestMobCompactor()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void setUp(String tableNameAsString) throws IOException
IOExceptionpublic void testMinorCompaction() throws Exception
Exceptionpublic void testMinorCompactionWithWeeklyPolicy() throws Exception
Exceptionpublic void testMajorCompactionWithWeeklyPolicy() throws Exception
Exceptionpublic void testMinorCompactionWithMonthlyPolicy() throws Exception
Exceptionpublic void testMajorCompactionWithMonthlyPolicy() throws Exception
Exceptionpublic void testMajorCompactionWithWeeklyFollowedByMonthly() throws Exception
Exceptionpublic void testMajorCompactionWithWeeklyFollowedByMonthlyFollowedByWeekly() throws Exception
Exceptionpublic void testMajorCompactionWithWeeklyFollowedByMonthlyFollowedByDaily() throws Exception
Exceptionpublic void testCompactionWithHFileLink() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testMajorCompactionFromAdmin() throws Exception
Exceptionpublic void testScannerOnBulkLoadRefHFiles() throws Exception
Exceptionpublic void testGetAfterCompaction() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.