public class TestMasterReplication
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestMasterReplication.CoprocessorCounter
Use a coprocessor to count puts and deletes.
|
| 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 |
testReplicateWALEntryWhenReplicationIsDisabled() |
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testCyclicReplication1()
throws java.lang.Exception
java.lang.Exceptionpublic void testHFileCyclicReplication()
throws java.lang.Exception
java.lang.Exceptionpublic void testCyclicReplication2()
throws java.lang.Exception
java.lang.Exceptionpublic void testHFileMultiSlaveReplication()
throws java.lang.Exception
java.lang.Exceptionpublic void testHFileReplicationForConfiguredTableCfs()
throws java.lang.Exception
java.lang.Exceptionpublic void testCyclicReplication3()
throws java.lang.Exception
java.lang.Exceptionpublic void testReplicateWALEntryWhenReplicationIsDisabled()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
throws java.io.IOException
java.io.IOException