public class TestReplicationAdmin extends Object
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.hadoop.hbase.client.replication.ReplicationAdmin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.client.Admin |
hbaseAdmin |
private String |
ID_ONE |
private String |
ID_SECOND |
private static String |
KEY_ONE |
private static String |
KEY_SECOND |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestReplicationAdmin() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testAddInvalidPeer() |
void |
testAddPeerWithState() |
void |
testAddPeerWithUnDeletedQueues() |
void |
testAddRemovePeer()
Simple testing of adding and removing peers, basically shows that all interactions with ZK work
n
|
void |
testAppendPeerTableCFs() |
void |
testConcurrentPeerOperations() |
void |
testEnableDisable()
basic checks that when we add a peer that it is enabled, and that we can disable n
|
void |
testNamespacesAndTableCfsConfigConflict() |
void |
testPeerBandwidth() |
void |
testPeerClusterKey() |
void |
testPeerConfig()
Tests that the peer configuration used by ReplicationAdmin contains all the peer's properties.
|
void |
testPeerConfigConflict() |
void |
testPeerExcludeNamespaces() |
void |
testPeerExcludeTableCFs() |
void |
testPeerReplicationEndpointImpl() |
void |
testRemovePeerTableCFs() |
void |
testSetPeerNamespaces() |
void |
testSetReplicateAllUserTables() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private final String ID_ONE
private final String ID_SECOND
private static String KEY_SECOND
private static org.apache.hadoop.hbase.client.replication.ReplicationAdmin admin
private static org.apache.hadoop.hbase.client.Admin hbaseAdmin
public org.junit.rules.TestName name
public TestReplicationAdmin()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testConcurrentPeerOperations() throws Exception
Exceptionpublic void testAddInvalidPeer()
public void testAddRemovePeer() throws Exception
Exceptionpublic void testAddPeerWithState() throws Exception
Exceptionpublic void testPeerConfig() throws Exception
Exceptionpublic void testAddPeerWithUnDeletedQueues() throws Exception
Exceptionpublic void testEnableDisable() throws Exception
Exceptionpublic void testAppendPeerTableCFs() throws Exception
Exceptionpublic void testRemovePeerTableCFs() throws Exception
Exceptionpublic void testSetPeerNamespaces() throws Exception
Exceptionpublic void testSetReplicateAllUserTables() throws Exception
Exceptionpublic void testPeerExcludeNamespaces() throws Exception
Exceptionpublic void testPeerExcludeTableCFs() throws Exception
Exceptionpublic void testPeerConfigConflict() throws Exception
Exceptionpublic void testNamespacesAndTableCfsConfigConflict() throws Exception
Exceptionpublic void testPeerBandwidth() throws Exception
Exceptionpublic void testPeerClusterKey() throws Exception
Exceptionpublic void testPeerReplicationEndpointImpl() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.