public class TestAsyncReplicationAdminApi extends TestAsyncAdminBase
| Modifier and Type | Class and Description |
|---|---|
static class |
TestAsyncReplicationAdminApi.DummyReplicationEndpoint |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private String |
ID_ONE |
private String |
ID_TWO |
private String |
KEY_ONE |
private String |
KEY_TWO |
| Constructor and Description |
|---|
TestAsyncReplicationAdminApi() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearPeerAndQueues() |
static void |
setUpBeforeClass() |
void |
testAddRemovePeer() |
void |
testAppendPeerTableCFs() |
void |
testEnableDisablePeer() |
void |
testInvalidClusterKey() |
void |
testInvalidReplicationEndpoint() |
void |
testNamespacesAndTableCfsConfigConflict() |
void |
testPeerBandwidth() |
void |
testPeerConfig() |
void |
testRemovePeerTableCFs() |
void |
testSetPeerNamespaces() |
void |
testSetReplicationEndpoint() |
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, tearDown, tearDownAfterClasspublic static final HBaseClassTestRule CLASS_RULE
private final String ID_ONE
private final String KEY_ONE
private final String ID_TWO
private final String KEY_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 testInvalidReplicationEndpoint() throws InterruptedException
InterruptedExceptionpublic void testSetReplicationEndpoint() throws InterruptedException, ExecutionException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.