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, row, scopes, seperateOldWALs, SLEEP_TIME, tableName, utility1, utility2, zkw1, zkw2| 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, loadData, params, runSimplePutDeleteTest, runSmallBatchTest, setUpBeforeClass, tearDownAfterClass, waitForReplicationpublic static final HBaseClassTestRule CLASS_RULE
public TestReplicationEmptyWALRecovery()
public void setUp() throws IOException, InterruptedException
IOExceptionInterruptedExceptionprivate void waitForLogAdvance(int numRs) throws Exception
numRs - number of regionserversExceptionpublic void testEmptyWALRecovery() throws Exception
ExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.