public class TestSplitWALManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestSplitWALManager.FakeServerProcedure |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private byte[] |
FAMILY |
private static org.slf4j.Logger |
LOG |
private org.apache.hadoop.hbase.master.HMaster |
master |
private org.apache.hadoop.hbase.master.SplitWALManager |
splitWALManager |
private org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestSplitWALManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
private void |
splitLogsTestHelper(HBaseTestingUtility testUtil) |
void |
teardown() |
void |
testAcquireAndRelease() |
void |
testAcquireAndReleaseSplitWALWorker() |
void |
testAddNewServer() |
void |
testCreateSplitWALProcedures() |
void |
testGetWALsToSplit() |
void |
testSplitLogs() |
void |
testSplitLogsWithDifferentWalAndRootFS() |
void |
testWorkerReloadWhenMasterRestart() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static HBaseTestingUtility TEST_UTIL
private org.apache.hadoop.hbase.master.HMaster master
private org.apache.hadoop.hbase.master.SplitWALManager splitWALManager
private org.apache.hadoop.hbase.TableName TABLE_NAME
private byte[] FAMILY
public TestSplitWALManager()
public void testAcquireAndRelease() throws Exception
Exceptionpublic void testAddNewServer() throws Exception
Exceptionpublic void testCreateSplitWALProcedures() throws Exception
Exceptionpublic void testAcquireAndReleaseSplitWALWorker() throws Exception
Exceptionpublic void testGetWALsToSplit() throws Exception
Exceptionprivate void splitLogsTestHelper(HBaseTestingUtility testUtil) throws Exception
Exceptionpublic void testSplitLogs() throws Exception
Exceptionpublic void testSplitLogsWithDifferentWalAndRootFS() throws Exception
Exceptionpublic void testWorkerReloadWhenMasterRestart() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.