public class TestReplicationBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.hadoop.hbase.client.replication.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 org.apache.hadoop.hbase.client.Admin |
hbaseAdmin |
protected static org.apache.hadoop.hbase.client.Table |
htable1 |
protected static org.apache.hadoop.hbase.client.Table |
htable2 |
private static org.slf4j.Logger |
LOG |
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 byte[] |
row |
protected static NavigableMap<byte[],Integer> |
scopes |
static boolean |
seperateOldWALs |
protected static long |
SLEEP_TIME |
protected static org.apache.hadoop.hbase.TableName |
tableName |
protected static HBaseTestingUtility |
utility1 |
protected static HBaseTestingUtility |
utility2 |
protected static org.apache.hadoop.hbase.zookeeper.ZKWatcher |
zkw1 |
protected static org.apache.hadoop.hbase.zookeeper.ZKWatcher |
zkw2 |
| Constructor and Description |
|---|
TestReplicationBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanUp() |
protected static void |
loadData(String prefix,
byte[] row) |
static List<Boolean> |
params() |
protected static void |
runSimplePutDeleteTest() |
protected static void |
runSmallBatchTest() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
protected static void |
waitForReplication(int expectedRows,
int retries) |
private static final org.slf4j.Logger LOG
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 org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw1
protected static org.apache.hadoop.hbase.zookeeper.ZKWatcher zkw2
protected static org.apache.hadoop.hbase.client.replication.ReplicationAdmin admin
protected static org.apache.hadoop.hbase.client.Admin hbaseAdmin
protected static org.apache.hadoop.hbase.client.Table htable1
protected static org.apache.hadoop.hbase.client.Table htable2
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 org.apache.hadoop.hbase.TableName tableName
protected static final byte[] famName
protected static final byte[] row
protected static final byte[] noRepfamName
public static boolean seperateOldWALs
public TestReplicationBase()
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
Exceptionprotected static void runSimplePutDeleteTest() throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected static void runSmallBatchTest() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static void tearDownAfterClass() throws Exception
ExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.