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
Exception
public static void tearDownAfterClass() throws Exception
Exception
protected static void moveRegion(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.regionserver.HRegionServer rs) throws Exception
Exception
protected static void rollAllWALs() throws Exception
Exception
protected final void setupWALWriter() throws IOException
IOException
protected final void waitUntilReplicationDone(int expectedEntries) throws Exception
Exception
protected final void enablePeerAndWaitUntilReplicationDone(int expectedEntries) throws Exception
Exception
protected final void addPeer(boolean enabled) throws IOException
IOException
protected final void checkOrder(int expectedEntries) throws IOException
IOException
protected final org.apache.hadoop.hbase.TableName createTable() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.