public abstract class TestReplicationSyncUpToolBase extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.hbase.client.Connection |
conn1 |
protected org.apache.hadoop.hbase.client.Connection |
conn2 |
protected static byte[] |
FAMILY |
protected org.apache.hadoop.hbase.client.Table |
ht1Source |
protected org.apache.hadoop.hbase.client.Table |
ht1TargetAtPeer1 |
protected org.apache.hadoop.hbase.client.Table |
ht2Source |
protected org.apache.hadoop.hbase.client.Table |
ht2TargetAtPeer1 |
protected static byte[] |
NO_REP_FAMILY |
protected static byte[] |
QUALIFIER |
protected org.apache.hadoop.hbase.client.TableDescriptor |
t1SyncupSource |
protected org.apache.hadoop.hbase.client.TableDescriptor |
t1SyncupTarget |
protected org.apache.hadoop.hbase.client.TableDescriptor |
t2SyncupSource |
protected org.apache.hadoop.hbase.client.TableDescriptor |
t2SyncupTarget |
protected static org.apache.hadoop.hbase.TableName |
TN1 |
protected static org.apache.hadoop.hbase.TableName |
TN2 |
protected static HBaseTestingUtility |
UTIL1 |
protected static HBaseTestingUtility |
UTIL2 |
Constructor and Description |
---|
TestReplicationSyncUpToolBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
customizeClusterConf(org.apache.hadoop.conf.Configuration conf) |
(package private) void |
restartSourceHBaseCluster(int numServers) |
(package private) void |
restartTargetHBaseCluster(int numServers) |
void |
setUp() |
(package private) void |
setupReplication() |
(package private) void |
shutDownSourceHBaseCluster() |
(package private) void |
shutDownTargetHBaseCluster() |
(package private) void |
syncUp(HBaseTestingUtility util) |
void |
tearDown() |
protected static final HBaseTestingUtility UTIL1
protected static final HBaseTestingUtility UTIL2
protected static final org.apache.hadoop.hbase.TableName TN1
protected static final org.apache.hadoop.hbase.TableName TN2
protected static final byte[] FAMILY
protected static final byte[] QUALIFIER
protected static final byte[] NO_REP_FAMILY
protected org.apache.hadoop.hbase.client.TableDescriptor t1SyncupSource
protected org.apache.hadoop.hbase.client.TableDescriptor t1SyncupTarget
protected org.apache.hadoop.hbase.client.TableDescriptor t2SyncupSource
protected org.apache.hadoop.hbase.client.TableDescriptor t2SyncupTarget
protected org.apache.hadoop.hbase.client.Connection conn1
protected org.apache.hadoop.hbase.client.Connection conn2
protected org.apache.hadoop.hbase.client.Table ht1Source
protected org.apache.hadoop.hbase.client.Table ht2Source
protected org.apache.hadoop.hbase.client.Table ht1TargetAtPeer1
protected org.apache.hadoop.hbase.client.Table ht2TargetAtPeer1
public TestReplicationSyncUpToolBase()
protected void customizeClusterConf(org.apache.hadoop.conf.Configuration conf)
final void setupReplication() throws Exception
Exception
final void syncUp(HBaseTestingUtility util) throws Exception
Exception
final void shutDownSourceHBaseCluster() throws Exception
Exception
final void shutDownTargetHBaseCluster() throws Exception
Exception
final void restartSourceHBaseCluster(int numServers) throws Exception
Exception
final void restartTargetHBaseCluster(int numServers) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.