Package org.apache.hadoop.hbase.client
Class TestAsyncReplicationAdminApi
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
org.apache.hadoop.hbase.client.TestAsyncAdminBase
org.apache.hadoop.hbase.client.TestAsyncReplicationAdminApi
Class to test asynchronous replication admin operations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate final Stringprivate final Stringprivate static Stringprivate static String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidTests that admin api throws ReplicationPeerNotFoundException if peer doesn't exist.voidvoidMethods inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, tearDown, tearDownAfterClassMethods inherited from class org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
-
Field Details
-
CLASS_RULE
-
ID_ONE
- See Also:
-
KEY_ONE
-
ID_TWO
- See Also:
-
KEY_TWO
-
-
Constructor Details
-
TestAsyncReplicationAdminApi
public TestAsyncReplicationAdminApi()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
clearPeerAndQueues
public void clearPeerAndQueues() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException- Throws:
IOExceptionorg.apache.hadoop.hbase.replication.ReplicationException
-
testAddRemovePeer
- Throws:
Exception
-
testPeerConfig
- Throws:
Exception
-
testEnableDisablePeer
- Throws:
Exception
-
testAppendPeerTableCFs
- Throws:
Exception
-
testRemovePeerTableCFs
- Throws:
Exception
-
testSetPeerNamespaces
- Throws:
Exception
-
testNamespacesAndTableCfsConfigConflict
- Throws:
Exception
-
testPeerBandwidth
- Throws:
Exception
-
testInvalidClusterKey
- Throws:
InterruptedException
-
testClusterKeyWithTrailingSpace
- Throws:
Exception
-
testInvalidReplicationEndpoint
- Throws:
InterruptedException
-
testSetReplicationEndpoint
-
testReplicationPeerNotFoundException
Tests that admin api throws ReplicationPeerNotFoundException if peer doesn't exist.- Throws:
InterruptedException
-
testReplicationPeerModificationSwitch
- Throws:
Exception
-