public abstract class TestingHBaseClusterReplicationTestBase extends Object
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
family |
protected org.apache.hadoop.hbase.testing.TestingHBaseCluster |
peerCluster |
private org.apache.hadoop.hbase.client.Connection |
peerConn |
private String |
peerId |
protected org.apache.hadoop.hbase.testing.TestingHBaseCluster |
sourceCluster |
private org.apache.hadoop.hbase.client.Connection |
sourceConn |
private org.apache.hadoop.hbase.TableName |
tableName |
| Constructor and Description |
|---|
TestingHBaseClusterReplicationTestBase() |
| Modifier and Type | Method and Description |
|---|---|
private String |
getPeerClusterKey() |
void |
setUp() |
protected abstract void |
startClusters() |
protected abstract void |
stopClusters() |
void |
tearDown() |
void |
testReplication() |
protected org.apache.hadoop.hbase.testing.TestingHBaseCluster sourceCluster
protected org.apache.hadoop.hbase.testing.TestingHBaseCluster peerCluster
private org.apache.hadoop.hbase.client.Connection sourceConn
private org.apache.hadoop.hbase.client.Connection peerConn
private org.apache.hadoop.hbase.TableName tableName
private byte[] family
public TestingHBaseClusterReplicationTestBase()
private String getPeerClusterKey()
public void testReplication() throws IOException
IOExceptionprotected abstract void startClusters() throws Exception
Exceptionprotected abstract void stopClusters() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.