public class TestAsyncReplicationAdminApi extends TestAsyncAdminBase
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private String |
ID_ONE |
private String |
ID_TWO |
private static String |
KEY_ONE |
private static String |
KEY_TWO |
| Constructor and Description |
|---|
TestAsyncReplicationAdminApi() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearPeerAndQueues() |
static void |
setUpBeforeClass() |
void |
testAddRemovePeer() |
void |
testAppendPeerTableCFs() |
void |
testClusterKeyWithTrailingSpace() |
void |
testEnableDisablePeer() |
void |
testInvalidClusterKey() |
void |
testInvalidReplicationEndpoint() |
void |
testNamespacesAndTableCfsConfigConflict() |
void |
testPeerBandwidth() |
void |
testPeerConfig() |
void |
testRemovePeerTableCFs() |
void |
testReplicationPeerNotFoundException() |
void |
testSetPeerNamespaces() |
void |
testSetReplicationEndpoint() |
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, tearDown, tearDownAfterClassaddResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFilespublic static final HBaseClassTestRule CLASS_RULE
private final String ID_ONE
private final String ID_TWO
public TestAsyncReplicationAdminApi()
public static void setUpBeforeClass() throws Exception
Exceptionpublic void clearPeerAndQueues() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException
IOExceptionorg.apache.hadoop.hbase.replication.ReplicationExceptionpublic void testAddRemovePeer() throws Exception
Exceptionpublic void testPeerConfig() throws Exception
Exceptionpublic void testEnableDisablePeer() throws Exception
Exceptionpublic void testAppendPeerTableCFs() throws Exception
Exceptionpublic void testRemovePeerTableCFs() throws Exception
Exceptionpublic void testSetPeerNamespaces() throws Exception
Exceptionpublic void testNamespacesAndTableCfsConfigConflict() throws Exception
Exceptionpublic void testPeerBandwidth() throws Exception
Exceptionpublic void testInvalidClusterKey() throws InterruptedException
InterruptedExceptionpublic void testClusterKeyWithTrailingSpace() throws Exception
Exceptionpublic void testInvalidReplicationEndpoint() throws InterruptedException
InterruptedExceptionpublic void testSetReplicationEndpoint() throws InterruptedException, ExecutionException
public void testReplicationPeerNotFoundException() throws InterruptedException
InterruptedExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.