public class SerialReplicationTestBase extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SerialReplicationTestBase.LocalReplicationEndpoint |
| Modifier and Type | Field and Description |
|---|---|
protected static byte[] |
CF |
protected static byte[] |
CQ |
protected static org.apache.hadoop.fs.FileSystem |
FS |
protected static org.apache.hadoop.fs.Path |
LOG_DIR |
protected org.apache.hadoop.fs.Path |
logPath |
org.junit.rules.TestName |
name |
protected static String |
PEER_ID |
protected static HBaseTestingUtility |
UTIL |
protected static org.apache.hadoop.hbase.wal.WALProvider.Writer |
WRITER |
| Constructor and Description |
|---|
SerialReplicationTestBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPeer(boolean enabled) |
protected void |
checkOrder(int expectedEntries) |
protected org.apache.hadoop.hbase.TableName |
createTable() |
protected void |
enablePeerAndWaitUntilReplicationDone(int expectedEntries) |
protected static void |
moveRegion(org.apache.hadoop.hbase.client.RegionInfo region,
org.apache.hadoop.hbase.regionserver.HRegionServer rs) |
protected static void |
rollAllWALs() |
static void |
setUpBeforeClass() |
protected void |
setupWALWriter() |
void |
tearDown() |
static void |
tearDownAfterClass() |
protected void |
waitUntilReplicationDone(int expectedEntries) |
protected static final HBaseTestingUtility UTIL
protected static byte[] CF
protected static byte[] CQ
protected static org.apache.hadoop.fs.FileSystem FS
protected static org.apache.hadoop.fs.Path LOG_DIR
protected static org.apache.hadoop.hbase.wal.WALProvider.Writer WRITER
public final org.junit.rules.TestName name
protected org.apache.hadoop.fs.Path logPath
public SerialReplicationTestBase()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionprotected static void moveRegion(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.regionserver.HRegionServer rs) throws Exception
Exceptionprotected static void rollAllWALs() throws Exception
Exceptionprotected final void setupWALWriter() throws IOException
IOExceptionprotected final void waitUntilReplicationDone(int expectedEntries) throws Exception
Exceptionprotected final void enablePeerAndWaitUntilReplicationDone(int expectedEntries) throws Exception
Exceptionprotected final void addPeer(boolean enabled) throws IOException
IOExceptionprotected final void checkOrder(int expectedEntries) throws IOException
IOExceptionprotected final org.apache.hadoop.hbase.TableName createTable() throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.