public class TestRegionReplicaReplicationEndpoint extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static HBaseTestingUtility |
HTU |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static int |
NB_SERVERS |
| Constructor and Description |
|---|
TestRegionReplicaReplicationEndpoint() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final int NB_SERVERS
private static final HBaseTestingUtility HTU
public org.junit.rules.TestName name
public TestRegionReplicaReplicationEndpoint()
public static void beforeClass() throws Exception
Exceptionpublic static void afterClass() throws Exception
Exceptionpublic void testRegionReplicaReplicationPeerIsCreated() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException
IOExceptionorg.apache.hadoop.hbase.replication.ReplicationExceptionpublic void testRegionReplicaReplicationPeerIsCreatedForModifyTable() throws Exception
Exceptionpublic void testRegionReplicaReplication(int regionReplication) throws Exception
Exceptionprivate void verifyReplication(org.apache.hadoop.hbase.TableName tableName, int regionReplication, int startRow, int endRow) throws Exception
Exceptionprivate void verifyReplication(org.apache.hadoop.hbase.TableName tableName, int regionReplication, int startRow, int endRow, boolean present) throws Exception
Exceptionpublic void testRegionReplicaReplicationWith2Replicas() throws Exception
Exceptionpublic void testRegionReplicaReplicationWith3Replicas() throws Exception
Exceptionpublic void testRegionReplicaReplicationWith10Replicas() throws Exception
Exceptionpublic void testRegionReplicaWithoutMemstoreReplication() throws Exception
Exceptionpublic void testRegionReplicaReplicationForFlushAndCompaction() throws Exception
Exceptionpublic void testRegionReplicaReplicationIgnoresDisabledTables() throws Exception
Exceptionpublic void testRegionReplicaReplicationIgnoresDroppedTables() throws Exception
Exceptionpublic void testRegionReplicaReplicationIgnoresDisabledTables(boolean dropTable) throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.