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
@Tag("org.apache.hadoop.hbase.testclassification.LargeTests") @Tag("org.apache.hadoop.hbase.testclassification.ClientTests")
public class TestAsyncReplicationAdminApi
extends TestAsyncAdminBase
Class to test asynchronous replication admin operations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Stringprivate static Stringprivate static StringFields inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
admin, ASYNC_CONN, FAMILY, FAMILY_0, FAMILY_1, getAdmin, LOG, tableName, TEST_UTIL -
Constructor Summary
ConstructorsConstructorDescriptionTestAsyncReplicationAdminApi(Supplier<org.apache.hadoop.hbase.client.AsyncAdmin> admin) -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voidstatic 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, parameters, setUp, tearDownMethods inherited from class org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
-
Field Details
-
ID_ONE
- See Also:
-
KEY_ONE
-
ID_TWO
- See Also:
-
KEY_TWO
-
-
Constructor Details
-
TestAsyncReplicationAdminApi
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
clearPeerAndQueues
@AfterEach 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
@TestTemplate public void testSetReplicationEndpoint() throws InterruptedException, ExecutionException -
testReplicationPeerNotFoundException
Tests that admin api throws ReplicationPeerNotFoundException if peer doesn't exist.- Throws:
InterruptedException
-
testReplicationPeerModificationSwitch
- Throws:
Exception
-