public class TestReplicationAdmin extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
| 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
|
void |
testAppendPeerTableCFs() |
void |
testConcurrentPeerOperations() |
void |
testEnableDisable()
basic checks that when we add a peer that it is enabled, and that we can disable
|
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
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–2019 Cloudera. All rights reserved.