public class TestReplicationEmptyWALRecovery extends TestReplicationBase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
admin, CONF_WITH_LOCALFS, CONF1, CONF2, famName, hbaseAdmin, htable1, htable2, NB_RETRIES, NB_ROWS_IN_BATCH, NB_ROWS_IN_BIG_BATCH, noRepfamName, NUM_SLAVES1, NUM_SLAVES2, PEER_ID2, row, SLEEP_TIME, tableName, UTIL1, UTIL2
Constructor and Description |
---|
TestReplicationEmptyWALRecovery() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testEmptyWALRecovery() |
private void |
waitForLogAdvance(int numRs)
Waits until there is only one log(the current writing one) in the replication queue
|
cleanUp, configureClusters, isSerialPeer, loadData, loadData, restartSourceCluster, restartTargetHBaseCluster, runSimplePutDeleteTest, runSmallBatchTest, setUpBase, setUpBeforeClass, setupConfig, tearDownAfterClass, tearDownBase, waitForReplication, waitForReplication
public static final HBaseClassTestRule CLASS_RULE
public TestReplicationEmptyWALRecovery()
public void setUp() throws IOException, InterruptedException
IOException
InterruptedException
private void waitForLogAdvance(int numRs) throws Exception
numRs
- number of regionserversException
public void testEmptyWALRecovery() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.