public class TestSplitLogManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestSplitLogManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
teardown() |
void |
testDeadWorker() |
void |
testEmptyLogDir() |
void |
testLogFilesAreArchived() |
void |
testMultipleResubmits() |
void |
testOrphanTaskAcquisition() |
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 static final HBaseClassTestRule CLASS_RULE
public TestSplitLogManager()
public void teardown() throws IOException, org.apache.zookeeper.KeeperException
IOExceptionorg.apache.zookeeper.KeeperExceptionpublic void testTaskCreation() throws Exception
Exceptionpublic void testOrphanTaskAcquisition() throws Exception
Exceptionpublic void testUnassignedOrphan() throws Exception
Exceptionpublic void testMultipleResubmits() throws Exception
Exceptionpublic void testRescanCleanup() throws Exception
Exceptionpublic void testTaskDone() throws Exception
Exceptionpublic void testTaskErr() throws Exception
Exceptionpublic void testTaskResigned() throws Exception
Exceptionpublic void testUnassignedTimeout() throws Exception
Exceptionpublic void testDeadWorker() throws Exception
Exceptionpublic void testWorkerCrash() throws Exception
Exceptionpublic void testEmptyLogDir() throws Exception
Exceptionpublic void testLogFilesAreArchived() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.