public class TestCompaction extends Object
Modifier and Type | Class and Description |
---|---|
class |
TestCompaction.BlockingStoreMockMaker |
static class |
TestCompaction.TrackableCompactionRequest
Simple
CompactionRequest on which you can wait until the requested compaction finishes. |
Modifier and Type | Field and Description |
---|---|
protected Configuration |
conf |
TestName |
name |
Constructor and Description |
---|
TestCompaction()
constructor
|
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
tearDown() |
void |
testCompactionQueuePriorities()
Test compaction priority management and multiple compactions per store (HBASE-8665).
|
void |
testCompactionWithCorruptResult() |
void |
testInterruptCompaction()
Verify that you can stop a long-running compaction
(used during RS shutdown)
|
void |
testMultipleCustomCompactionRequests()
HBASE-7947: Regression test to ensure adding to the correct list in the
CompactSplitThread |
void |
testTrackingCompactionRequest()
Create a custom compaction request and be sure that we can track it through the queue, knowing
when the compaction is completed.
|
public void testInterruptCompaction() throws Exception
Exception
public void testCompactionWithCorruptResult() throws Exception
Exception
public void testTrackingCompactionRequest() throws Exception
Exception
public void testMultipleCustomCompactionRequests() throws Exception
CompactSplitThread
Exception
- on failure