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
Exception
public static void afterClass() throws Exception
Exception
public void testRegionReplicaReplicationPeerIsCreated() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException
IOException
org.apache.hadoop.hbase.replication.ReplicationException
public void testRegionReplicaReplicationPeerIsCreatedForModifyTable() throws Exception
Exception
public void testRegionReplicaReplication(int regionReplication) throws Exception
Exception
private void verifyReplication(org.apache.hadoop.hbase.TableName tableName, int regionReplication, int startRow, int endRow) throws Exception
Exception
private void verifyReplication(org.apache.hadoop.hbase.TableName tableName, int regionReplication, int startRow, int endRow, boolean present) throws Exception
Exception
public void testRegionReplicaReplicationWith2Replicas() throws Exception
Exception
public void testRegionReplicaReplicationWith3Replicas() throws Exception
Exception
public void testRegionReplicaReplicationWith10Replicas() throws Exception
Exception
public void testRegionReplicaWithoutMemstoreReplication() throws Exception
Exception
public void testRegionReplicaReplicationForFlushAndCompaction() throws Exception
Exception
public void testRegionReplicaReplicationIgnoresDisabledTables() throws Exception
Exception
public void testRegionReplicaReplicationIgnoresDroppedTables() throws Exception
Exception
public void testRegionReplicaReplicationIgnoresNonReplicatedTables() throws Exception
Exception
public void testRegionReplicaReplicationIgnores(boolean dropTable, boolean disableReplication) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.