Class TestAddToSerialReplicationPeer
java.lang.Object
org.apache.hadoop.hbase.replication.SerialReplicationTestBase
org.apache.hadoop.hbase.replication.TestAddToSerialReplicationPeer
Testcase for HBASE-20147.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.replication.SerialReplicationTestBase
SerialReplicationTestBase.LocalReplicationEndpoint
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
moveRegionAndArchiveOldWals
(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.regionserver.HRegionServer rs) void
setUp()
void
void
void
void
void
void
private void
waitUntilReplicatedToTheCurrentWALFile
(org.apache.hadoop.hbase.regionserver.HRegionServer rs, String oldWalName) Methods inherited from class org.apache.hadoop.hbase.replication.SerialReplicationTestBase
addPeer, checkOrder, createTable, enablePeerAndWaitUntilReplicationDone, moveRegion, rollAllWALs, setUpBeforeClass, setupWALWriter, tearDown, tearDownAfterClass, waitUntilReplicationDone
-
Field Details
-
CLASS_RULE
-
-
Constructor Details
-
TestAddToSerialReplicationPeer
public TestAddToSerialReplicationPeer()
-
-
Method Details
-
setUp
public void setUp() throws IOException, org.apache.hadoop.hbase.util.CommonFSUtils.StreamLacksCapabilityException- Throws:
IOException
org.apache.hadoop.hbase.util.CommonFSUtils.StreamLacksCapabilityException
-
moveRegionAndArchiveOldWals
private void moveRegionAndArchiveOldWals(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.regionserver.HRegionServer rs) throws Exception - Throws:
Exception
-
waitUntilReplicatedToTheCurrentWALFile
private void waitUntilReplicatedToTheCurrentWALFile(org.apache.hadoop.hbase.regionserver.HRegionServer rs, String oldWalName) throws Exception - Throws:
Exception
-
testAddPeer
- Throws:
Exception
-
testChangeToSerial
- Throws:
Exception
-
testAddToSerialPeer
- Throws:
Exception
-
testDisabledTable
- Throws:
Exception
-
testDisablingTable
- Throws:
Exception
-
testEnablingTable
- Throws:
Exception
-