Class TestReplicationAdmin
java.lang.Object
org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
Unit testing of ReplicationAdmin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.replication.ReplicationAdminstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.client.Adminprivate final Stringprivate final Stringprivate static Stringprivate static Stringprivate static final org.slf4j.Loggerorg.junit.rules.TestNameprivate static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidtearDown()static voidvoidvoidvoidvoidSimple testing of adding and removing peers, basically shows that all interactions with ZK workvoidvoidvoidbasic checks that when we add a peer that it is enabled, and that we can disablevoidvoidvoidvoidTests that the peer configuration used by ReplicationAdmin contains all the peer's properties.voidvoidvoidvoidvoidvoidvoid
-
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
-