public class TestSplitLogManager extends Object
| Constructor and Description |
|---|
TestSplitLogManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
teardown() |
void |
testDeadWorker() |
void |
testEmptyLogDir() |
void |
testGetPreviousRecoveryMode() |
void |
testLogFilesAreArchived() |
void |
testMultipleResubmits() |
void |
testOrphanTaskAcquisition() |
void |
testRecoveryRegionRemovedFromZK()
The following test case is aiming to test the situation when distributedLogReplay is turned off
and restart a cluster there should no recovery regions in ZK left.
|
void |
testRescanCleanup() |
void |
testTaskCreation()
Test whether the splitlog correctly creates a task in zookeeper
|
void |
testTaskDone() |
void |
testTaskErr() |
void |
testTaskResigned() |
void |
testUnassignedOrphan() |
void |
testUnassignedTimeout() |
void |
testWorkerCrash() |
public void teardown()
throws IOException,
KeeperException
IOExceptionKeeperExceptionpublic void testTaskCreation()
throws Exception
Exceptionpublic void testOrphanTaskAcquisition()
throws Exception
Exceptionpublic void testRecoveryRegionRemovedFromZK()
throws Exception
Exception