public class TestSplitLogManager
extends java.lang.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 setup()
throws java.lang.Exception
java.lang.Exceptionpublic void teardown()
throws java.io.IOException,
KeeperException
java.io.IOExceptionKeeperExceptionpublic void testTaskCreation()
throws java.lang.Exception
java.lang.Exceptionpublic void testOrphanTaskAcquisition()
throws java.lang.Exception
java.lang.Exceptionpublic void testUnassignedOrphan()
throws java.lang.Exception
java.lang.Exceptionpublic void testMultipleResubmits()
throws java.lang.Exception
java.lang.Exceptionpublic void testRescanCleanup()
throws java.lang.Exception
java.lang.Exceptionpublic void testTaskDone()
throws java.lang.Exception
java.lang.Exceptionpublic void testTaskErr()
throws java.lang.Exception
java.lang.Exceptionpublic void testTaskResigned()
throws java.lang.Exception
java.lang.Exceptionpublic void testUnassignedTimeout()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeadWorker()
throws java.lang.Exception
java.lang.Exceptionpublic void testWorkerCrash()
throws java.lang.Exception
java.lang.Exceptionpublic void testEmptyLogDir()
throws java.lang.Exception
java.lang.Exceptionpublic void testLogFilesAreArchived()
throws java.lang.Exception
java.lang.Exceptionpublic void testRecoveryRegionRemovedFromZK()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetPreviousRecoveryMode()
throws java.lang.Exception
java.lang.Exception