public class TestReplicationAdmin 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.hbase.client.Admin |
hbaseAdmin |
private String |
ID_ONE |
private String |
ID_SECOND |
private String |
KEY_ONE |
private String |
KEY_SECOND |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestReplicationAdmin() |
Modifier and Type | Method and Description |
---|---|
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testAddInvalidPeer() |
void |
testAddPeerWithState() |
void |
testAddPeerWithUnDeletedQueues() |
void |
testAddRemovePeer()
Simple testing of adding and removing peers, basically shows that
all interactions with ZK work
|
void |
testAppendPeerTableCFs() |
void |
testConcurrentPeerOperations() |
void |
testEnableDisable()
basic checks that when we add a peer that it is enabled, and that we can disable
|
void |
testNamespacesAndTableCfsConfigConflict() |
void |
testPeerBandwidth() |
void |
testPeerClusterKey() |
void |
testPeerConfig()
Tests that the peer configuration used by ReplicationAdmin contains all
the peer's properties.
|
void |
testPeerConfigConflict() |
void |
testPeerExcludeNamespaces() |
void |
testPeerExcludeTableCFs() |
void |
testPeerReplicationEndpointImpl() |
void |
testRemovePeerTableCFs() |
void |
testSetPeerNamespaces() |
void |
testSetReplicateAllUserTables() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private final String ID_ONE
private final String KEY_ONE
private final String ID_SECOND
private final String KEY_SECOND
private static org.apache.hadoop.hbase.client.replication.ReplicationAdmin admin
private static org.apache.hadoop.hbase.client.Admin hbaseAdmin
public org.junit.rules.TestName name
public TestReplicationAdmin()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testConcurrentPeerOperations() throws Exception
Exception
public void testAddInvalidPeer()
public void testAddRemovePeer() throws Exception
Exception
public void testAddPeerWithState() throws Exception
Exception
public void testPeerConfig() throws Exception
Exception
public void testAddPeerWithUnDeletedQueues() throws Exception
Exception
public void testEnableDisable() throws Exception
Exception
public void testAppendPeerTableCFs() throws Exception
Exception
public void testRemovePeerTableCFs() throws Exception
Exception
public void testSetPeerNamespaces() throws Exception
Exception
public void testSetReplicateAllUserTables() throws Exception
Exception
public void testPeerExcludeNamespaces() throws Exception
Exception
public void testPeerExcludeTableCFs() throws Exception
Exception
public void testPeerConfigConflict() throws Exception
Exception
public void testNamespacesAndTableCfsConfigConflict() throws Exception
Exception
public void testPeerBandwidth() throws Exception
Exception
public void testPeerClusterKey() throws Exception
Exception
public void testPeerReplicationEndpointImpl() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.