public class TestReplicationBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static ReplicationAdmin |
admin |
protected static org.apache.hadoop.conf.Configuration |
CONF_WITH_LOCALFS |
protected static org.apache.hadoop.conf.Configuration |
conf1 |
protected static org.apache.hadoop.conf.Configuration |
conf2 |
protected static byte[] |
famName |
protected static Admin |
hbaseAdmin |
protected static Table |
htable1 |
protected static Table |
htable2 |
protected static int |
NB_RETRIES |
protected static int |
NB_ROWS_IN_BATCH |
protected static int |
NB_ROWS_IN_BIG_BATCH |
protected static byte[] |
noRepfamName |
protected static String |
PEER_ID2 |
protected static byte[] |
row |
protected static NavigableMap<byte[],Integer> |
scopes |
protected static long |
SLEEP_TIME |
protected static TableName |
tableName |
protected static HBaseTestingUtility |
utility1 |
protected static HBaseTestingUtility |
utility2 |
protected static ZKWatcher |
zkw1 |
protected static ZKWatcher |
zkw2 |
| Constructor and Description |
|---|
TestReplicationBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanUp() |
protected boolean |
isSerialPeer() |
protected static void |
loadData(String prefix,
byte[] row) |
protected static void |
runSimplePutDeleteTest() |
protected static void |
runSmallBatchTest() |
void |
setUpBase() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
tearDownBase() |
protected static void |
waitForReplication(int expectedRows,
int retries) |
protected static org.apache.hadoop.conf.Configuration conf1
protected static org.apache.hadoop.conf.Configuration conf2
protected static org.apache.hadoop.conf.Configuration CONF_WITH_LOCALFS
protected static ReplicationAdmin admin
protected static Admin hbaseAdmin
protected static NavigableMap<byte[],Integer> scopes
protected static HBaseTestingUtility utility1
protected static HBaseTestingUtility utility2
protected static final int NB_ROWS_IN_BATCH
protected static final int NB_ROWS_IN_BIG_BATCH
protected static final long SLEEP_TIME
protected static final int NB_RETRIES
protected static final byte[] famName
protected static final byte[] row
protected static final byte[] noRepfamName
protected static final String PEER_ID2
public TestReplicationBase()
protected boolean isSerialPeer()
protected final void cleanUp() throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected static void waitForReplication(int expectedRows, int retries) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected static void loadData(String prefix, byte[] row) throws IOException
IOExceptionpublic static void setUpBeforeClass() throws Exception
Exceptionpublic void tearDownBase() throws Exception
Exceptionprotected static void runSimplePutDeleteTest() throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected static void runSmallBatchTest() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static void tearDownAfterClass() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.