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
Exception
public void testAddNewServer() throws Exception
Exception
public void testCreateSplitWALProcedures() throws Exception
Exception
public void testAcquireAndReleaseSplitWALWorker() throws Exception
Exception
public void testGetWALsToSplit() throws Exception
Exception
private void splitLogsTestHelper(HBaseTestingUtility testUtil) throws Exception
Exception
public void testSplitLogs() throws Exception
Exception
public void testSplitLogsWithDifferentWalAndRootFS() throws Exception
Exception
public void testWorkerReloadWhenMasterRestart() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.