public class TestNamespaceReplication extends TestReplicationBase
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.hadoop.hbase.client.Admin |
admin1 |
private static org.apache.hadoop.hbase.client.Admin |
admin2 |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.client.Connection |
connection1 |
private static org.apache.hadoop.hbase.client.Connection |
connection2 |
private static byte[] |
f1Name |
private static byte[] |
f2Name |
private static org.slf4j.Logger |
LOG |
private static String |
ns1 |
private static String |
ns2 |
boolean |
serialPeer |
private static org.apache.hadoop.hbase.TableName |
tabAName |
private static org.apache.hadoop.hbase.TableName |
tabBName |
private static byte[] |
val |
admin, CONF_WITH_LOCALFS, conf1, conf2, famName, hbaseAdmin, htable1, htable2, NB_RETRIES, NB_ROWS_IN_BATCH, NB_ROWS_IN_BIG_BATCH, noRepfamName, PEER_ID2, row, scopes, SLEEP_TIME, tableName, utility1, utility2, zkw1, zkw2| Constructor and Description |
|---|
TestNamespaceReplication() |
| Modifier and Type | Method and Description |
|---|---|
private void |
delete(org.apache.hadoop.hbase.client.Table source,
byte[] row,
byte[]... families) |
private void |
ensureRowExisted(org.apache.hadoop.hbase.client.Table target,
byte[] row,
byte[]... families) |
private void |
ensureRowNotExisted(org.apache.hadoop.hbase.client.Table target,
byte[] row,
byte[]... families) |
protected boolean |
isSerialPeer() |
static List<Boolean> |
parameters() |
private void |
put(org.apache.hadoop.hbase.client.Table source,
byte[] row,
byte[]... families) |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testNamespaceReplication() |
cleanUp, loadData, loadData, runSimplePutDeleteTest, runSmallBatchTest, setUpBase, tearDownBase, waitForReplicationpublic static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final org.apache.hadoop.hbase.TableName tabAName
private static final org.apache.hadoop.hbase.TableName tabBName
private static final byte[] f1Name
private static final byte[] f2Name
private static final byte[] val
private static org.apache.hadoop.hbase.client.Connection connection1
private static org.apache.hadoop.hbase.client.Connection connection2
private static org.apache.hadoop.hbase.client.Admin admin1
private static org.apache.hadoop.hbase.client.Admin admin2
public boolean serialPeer
public TestNamespaceReplication()
protected boolean isSerialPeer()
isSerialPeer in class TestReplicationBasepublic static List<Boolean> parameters()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testNamespaceReplication() throws Exception
Exceptionprivate void put(org.apache.hadoop.hbase.client.Table source, byte[] row, byte[]... families) throws Exception
Exceptionprivate void delete(org.apache.hadoop.hbase.client.Table source, byte[] row, byte[]... families) throws Exception
Exceptionprivate void ensureRowExisted(org.apache.hadoop.hbase.client.Table target, byte[] row, byte[]... families) throws Exception
Exceptionprivate void ensureRowNotExisted(org.apache.hadoop.hbase.client.Table target, byte[] row, byte[]... families) throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.