Class TestReplicationSyncUpToolBase
java.lang.Object
org.apache.hadoop.hbase.replication.TestReplicationSyncUpToolBase
- Direct Known Subclasses:
TestReplicationSyncUpTool
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.hadoop.hbase.client.Connectionprotected org.apache.hadoop.hbase.client.Connectionprotected static final byte[]protected org.apache.hadoop.hbase.client.Tableprotected org.apache.hadoop.hbase.client.Tableprotected org.apache.hadoop.hbase.client.Tableprotected org.apache.hadoop.hbase.client.Tableprotected static final byte[]protected static final byte[]protected org.apache.hadoop.hbase.client.TableDescriptorprotected org.apache.hadoop.hbase.client.TableDescriptorprotected org.apache.hadoop.hbase.client.TableDescriptorprotected org.apache.hadoop.hbase.client.TableDescriptorprotected static final org.apache.hadoop.hbase.TableNameprotected static final org.apache.hadoop.hbase.TableNameprotected static final HBaseTestingUtilityprotected static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcustomizeClusterConf(org.apache.hadoop.conf.Configuration conf) (package private) final voidrestartSourceHBaseCluster(int numServers) (package private) final voidrestartTargetHBaseCluster(int numServers) voidsetUp()(package private) final void(package private) final void(package private) final void(package private) final voidsyncUp(HBaseTestingUtility util) voidtearDown()
-
Field Details
-
UTIL1
-
UTIL2
-
TN1
-
TN2
-
FAMILY
-
QUALIFIER
-
NO_REP_FAMILY
-
t1SyncupSource
-
t1SyncupTarget
-
t2SyncupSource
-
t2SyncupTarget
-
conn1
-
conn2
-
ht1Source
-
ht2Source
-
ht1TargetAtPeer1
-
ht2TargetAtPeer1
-
-
Constructor Details
-
TestReplicationSyncUpToolBase
public TestReplicationSyncUpToolBase()
-
-
Method Details
-
customizeClusterConf
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
setupReplication
- Throws:
Exception
-
syncUp
- Throws:
Exception
-
shutDownSourceHBaseCluster
- Throws:
Exception
-
shutDownTargetHBaseCluster
- Throws:
Exception
-
restartSourceHBaseCluster
- Throws:
Exception
-
restartTargetHBaseCluster
- Throws:
Exception
-