public class TestReplicationCompressedWAL extends TestReplicationBase
TestReplicationBase.ReplicationEndpointTest| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) static org.slf4j.Logger |
LOG |
(package private) static int |
NUM_BATCHES |
(package private) static int |
NUM_ROWS_PER_BATCH |
admin, CONF_WITH_LOCALFS, CONF1, CONF2, connection1, connection2, famName, hbaseAdmin, htable1, htable2, NB_RETRIES, NB_ROWS_IN_BATCH, NB_ROWS_IN_BIG_BATCH, noRepfamName, NUM_SLAVES1, NUM_SLAVES2, PEER_ID2, replicateCount, replicatedEntries, row, SLEEP_TIME, tableName, UTIL1, UTIL2| Constructor and Description |
|---|
TestReplicationCompressedWAL() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
getBatch(int batch) |
protected static byte[] |
getRowKey(int batch,
int count) |
protected static void |
putBatch(int batch) |
protected static void |
runMultiplePutTest() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testMultiplePuts() |
addPeer, cleanUp, createTable, isSerialPeer, loadData, loadData, removePeer, runSimplePutDeleteTest, runSmallBatchTest, setUpBase, setupConfig, tearDownBase, waitForReplication, waitForReplicationpublic static final HBaseClassTestRule CLASS_RULE
static final org.slf4j.Logger LOG
static final int NUM_BATCHES
static final int NUM_ROWS_PER_BATCH
public TestReplicationCompressedWAL()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testMultiplePuts() throws Exception
Exceptionprotected static void runMultiplePutTest() throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected static void getBatch(int batch) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected static byte[] getRowKey(int batch, int count)
protected static void putBatch(int batch) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.