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, tearDownAfterClass
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
public static final HBaseClassTestRule CLASS_RULE
private final String ID_ONE
private final String ID_TWO
public TestAsyncReplicationAdminApi()
public static void setUpBeforeClass() throws Exception
Exception
public void clearPeerAndQueues() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException
IOException
org.apache.hadoop.hbase.replication.ReplicationException
public void testAddRemovePeer() throws Exception
Exception
public void testPeerConfig() throws Exception
Exception
public void testEnableDisablePeer() throws Exception
Exception
public void testAppendPeerTableCFs() throws Exception
Exception
public void testRemovePeerTableCFs() throws Exception
Exception
public void testSetPeerNamespaces() throws Exception
Exception
public void testNamespacesAndTableCfsConfigConflict() throws Exception
Exception
public void testPeerBandwidth() throws Exception
Exception
public void testInvalidClusterKey() throws InterruptedException
InterruptedException
public void testClusterKeyWithTrailingSpace() throws Exception
Exception
public void testInvalidReplicationEndpoint() throws InterruptedException
InterruptedException
public void testSetReplicationEndpoint() throws InterruptedException, ExecutionException
public void testReplicationPeerNotFoundException() throws InterruptedException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.