public class TestReplicationAdminWithTwoDifferentZKClusters extends Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.client.replication.ReplicationAdmin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf1 |
private static org.apache.hadoop.conf.Configuration |
conf2 |
private static byte[] |
famName |
private static String |
peerId |
private static org.apache.hadoop.hbase.TableName |
tableName |
private static HBaseTestingUtility |
utility1 |
private static HBaseTestingUtility |
utility2 |
Constructor and Description |
---|
TestReplicationAdminWithTwoDifferentZKClusters() |
Modifier and Type | Method and Description |
---|---|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testDisableTableReplication() |
void |
testEnableTableReplication() |
public static final HBaseClassTestRule CLASS_RULE
private static org.apache.hadoop.conf.Configuration conf1
private static org.apache.hadoop.conf.Configuration conf2
private static HBaseTestingUtility utility1
private static HBaseTestingUtility utility2
private static org.apache.hadoop.hbase.client.replication.ReplicationAdmin admin
private static final org.apache.hadoop.hbase.TableName tableName
private static final byte[] famName
private static final String peerId
public TestReplicationAdminWithTwoDifferentZKClusters()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testEnableTableReplication() throws Exception
Exception
public void testDisableTableReplication() throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.