public class TestMasterReplication extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestMasterReplication.CoprocessorCounter
Use a coprocessor to count puts and deletes.
|
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestMasterReplication() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testCyclicReplication1()
It tests the replication scenario involving 0 -> 1 -> 0.
|
void |
testCyclicReplication2()
Tests the cyclic replication scenario of 0 -> 1 -> 2 -> 0 by adding and deleting rows to a
table in each clusters and ensuring that the each of these clusters get the appropriate
mutations.
|
void |
testCyclicReplication3()
Tests cyclic replication scenario of 0 -> 1 -> 2 -> 1.
|
void |
testHFileCyclicReplication()
It tests the replication scenario involving 0 -> 1 -> 0.
|
void |
testHFileMultiSlaveReplication()
It tests the multi slave hfile replication scenario involving 0 -> 1, 2.
|
void |
testHFileReplicationForConfiguredTableCfs()
It tests the bulk loaded hfile replication scenario to only explicitly specified table column
families.
|
void |
testLoopedReplication()
Tests the replication scenario 0 -> 0.
|
public static final HBaseClassTestRule CLASS_RULE
public TestMasterReplication()
public void testCyclicReplication1() throws Exception
Exceptionpublic void testLoopedReplication() throws Exception
BaseReplicationEndpoint.canReplicateToSameCluster() returns false, so the
ReplicationSource should terminate, and no further logs should get enqueuedExceptionpublic void testHFileCyclicReplication() throws Exception
Exceptionpublic void testCyclicReplication2() throws Exception
Exceptionpublic void testHFileMultiSlaveReplication() throws Exception
Exceptionpublic void testHFileReplicationForConfiguredTableCfs() throws Exception
Exceptionpublic void testCyclicReplication3() throws Exception
Exceptionpublic void tearDown() throws IOException
IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.