public class TestWALObserver extends Object
MasterObserver interface hooks at
all appropriate times during normal HMaster operations.| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
currentTest |
| Constructor and Description |
|---|
TestWALObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
static void |
setupBeforeClass() |
void |
tearDown() |
static void |
teardownAfterClass() |
void |
testEmptyWALEditAreNotSeen()
Coprocessors shouldn't get notice of empty waledits.
|
void |
testWALCoprocessorReplay()
Test WAL replay behavior with WALObserver.
|
void |
testWALObserverLoaded()
Test to see CP loaded successfully or not.
|
void |
testWALObserverRoll() |
void |
testWALObserverWriteToWAL()
Test WAL write behavior with WALObserver.
|
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName currentTest
public TestWALObserver()
public static void setupBeforeClass() throws Exception
Exceptionpublic static void teardownAfterClass() throws Exception
Exceptionpublic void testWALObserverWriteToWAL() throws Exception
Exceptionpublic void testEmptyWALEditAreNotSeen() throws Exception
Exceptionpublic void testWALCoprocessorReplay() throws Exception
Exceptionpublic void testWALObserverLoaded() throws Exception
Exceptionpublic void testWALObserverRoll() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.