Class TestReplicationAdmin
java.lang.Object
org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
Unit testing of ReplicationAdmin
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.replication.ReplicationAdmin
static final HBaseClassTestRule
private static org.apache.hadoop.hbase.client.Admin
private final String
private final String
private static String
private static String
private static final org.slf4j.Logger
org.junit.rules.TestName
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
void
tearDown()
static void
void
void
void
void
Simple testing of adding and removing peers, basically shows that all interactions with ZK workvoid
void
void
basic checks that when we add a peer that it is enabled, and that we can disablevoid
void
void
void
Tests that the peer configuration used by ReplicationAdmin contains all the peer's properties.void
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
ID_ONE
- See Also:
-
KEY_ONE
-
ID_SECOND
- See Also:
-
KEY_SECOND
-
admin
-
hbaseAdmin
-
name
-
-
Constructor Details
-
TestReplicationAdmin
public TestReplicationAdmin()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testConcurrentPeerOperations
- Throws:
Exception
-
testAddInvalidPeer
-
testAddRemovePeer
Simple testing of adding and removing peers, basically shows that all interactions with ZK work- Throws:
Exception
-
testAddPeerWithState
- Throws:
Exception
-
testPeerConfig
Tests that the peer configuration used by ReplicationAdmin contains all the peer's properties.- Throws:
Exception
-
testAddPeerWithUnDeletedQueues
- Throws:
Exception
-
testEnableDisable
basic checks that when we add a peer that it is enabled, and that we can disable- Throws:
Exception
-
testAppendPeerTableCFs
- Throws:
Exception
-
testRemovePeerTableCFs
- Throws:
Exception
-
testSetPeerNamespaces
- Throws:
Exception
-
testSetReplicateAllUserTables
- Throws:
Exception
-
testPeerExcludeNamespaces
- Throws:
Exception
-
testPeerExcludeTableCFs
- Throws:
Exception
-
testPeerConfigConflict
- Throws:
Exception
-
testNamespacesAndTableCfsConfigConflict
- Throws:
Exception
-
testPeerBandwidth
- Throws:
Exception
-
testPeerClusterKey
- Throws:
Exception
-
testPeerReplicationEndpointImpl
- Throws:
Exception
-