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
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private final String
private final String
private static String
private static String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static void
void
void
void
void
void
void
void
void
void
void
void
void
Tests that admin api throws ReplicationPeerNotFoundException if peer doesn't exist.void
void
Methods inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, tearDown, tearDownAfterClass
Methods 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:
IOException
org.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
-