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, 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–2019 The Apache Software Foundation. All rights reserved.