Class TestNamespaceReplication
java.lang.Object
org.apache.hadoop.hbase.replication.TestReplicationBase
org.apache.hadoop.hbase.replication.TestNamespaceReplication
- 
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
TestReplicationBase.ReplicationEndpointTest - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Adminprivate static org.apache.hadoop.hbase.client.Adminstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.client.Connectionprivate static org.apache.hadoop.hbase.client.Connectionprivate static final byte[]private static final byte[]private static final org.slf4j.Loggerprivate static Stringprivate static Stringbooleanprivate static final org.apache.hadoop.hbase.TableNameprivate static final org.apache.hadoop.hbase.TableNameprivate static final byte[]Fields inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
CONF_WITH_LOCALFS, CONF1, CONF2, 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 Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprivate voiddelete(org.apache.hadoop.hbase.client.Table source, byte[] row, byte[]... families) private voidensureRowExisted(org.apache.hadoop.hbase.client.Table target, byte[] row, byte[]... families) private voidensureRowNotExisted(org.apache.hadoop.hbase.client.Table target, byte[] row, byte[]... families) protected booleanprivate voidput(org.apache.hadoop.hbase.client.Table source, byte[] row, byte[]... families) static voidstatic voidvoidMethods inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
addPeer, addPeer, cleanUp, configureClusters, createTable, getClusterKey, isSyncPeer, loadData, loadData, removePeer, removePeer, restartSourceCluster, restartTargetHBaseCluster, runSimplePutDeleteTest, runSmallBatchTest, setUpBase, setupConfig, stopAllRegionServers, tearDownBase, waitForReplication, waitForReplication 
- 
Field Details
- 
CLASS_RULE
 - 
LOG
 - 
ns1
 - 
ns2
 - 
tabAName
 - 
tabBName
 - 
f1Name
 - 
f2Name
 - 
val
 - 
connection1
 - 
connection2
 - 
admin1
 - 
admin2
 - 
serialPeer
 
 - 
 - 
Constructor Details
- 
TestNamespaceReplication
public TestNamespaceReplication() 
 - 
 - 
Method Details
- 
isSerialPeer
- Overrides:
 isSerialPeerin classTestReplicationBase
 - 
parameters
 - 
setUpBeforeClass
- Throws:
 Exception
 - 
tearDownAfterClass
- Throws:
 Exception
 - 
testNamespaceReplication
- Throws:
 Exception
 - 
put
private void put(org.apache.hadoop.hbase.client.Table source, byte[] row, byte[]... families) throws Exception - Throws:
 Exception
 - 
delete
private void delete(org.apache.hadoop.hbase.client.Table source, byte[] row, byte[]... families) throws Exception - Throws:
 Exception
 - 
ensureRowExisted
private void ensureRowExisted(org.apache.hadoop.hbase.client.Table target, byte[] row, byte[]... families) throws Exception - Throws:
 Exception
 - 
ensureRowNotExisted
private void ensureRowNotExisted(org.apache.hadoop.hbase.client.Table target, byte[] row, byte[]... families) throws Exception - Throws:
 Exception
 
 -