public class TestAddToSerialReplicationPeer extends SerialReplicationTestBase
SerialReplicationTestBase.LocalReplicationEndpoint
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
Constructor and Description |
---|
TestAddToSerialReplicationPeer() |
Modifier and Type | Method and Description |
---|---|
private void |
moveRegionAndArchiveOldWals(org.apache.hadoop.hbase.client.RegionInfo region,
org.apache.hadoop.hbase.regionserver.HRegionServer rs) |
void |
setUp() |
void |
testAddPeer() |
void |
testAddToSerialPeer() |
void |
testChangeToSerial() |
void |
testDisabledTable() |
void |
testDisablingTable() |
void |
testEnablingTable() |
private void |
waitUntilReplicatedToTheCurrentWALFile(org.apache.hadoop.hbase.regionserver.HRegionServer rs,
String oldWalName) |
addPeer, checkOrder, createTable, enablePeerAndWaitUntilReplicationDone, moveRegion, rollAllWALs, setUpBeforeClass, setupWALWriter, tearDown, tearDownAfterClass, waitUntilReplicationDone
public static final HBaseClassTestRule CLASS_RULE
public TestAddToSerialReplicationPeer()
public void setUp() throws IOException, org.apache.hadoop.hbase.util.CommonFSUtils.StreamLacksCapabilityException
IOException
org.apache.hadoop.hbase.util.CommonFSUtils.StreamLacksCapabilityException
private void moveRegionAndArchiveOldWals(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.regionserver.HRegionServer rs) throws Exception
Exception
private void waitUntilReplicatedToTheCurrentWALFile(org.apache.hadoop.hbase.regionserver.HRegionServer rs, String oldWalName) throws Exception
Exception
public void testAddPeer() throws Exception
Exception
public void testChangeToSerial() throws Exception
Exception
public void testAddToSerialPeer() throws Exception
Exception
public void testDisabledTable() throws Exception
Exception
public void testDisablingTable() throws Exception
Exception
public void testEnablingTable() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.