public class TestRegionReplicaReplication extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static HBaseTestingUtil |
HTU |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static int |
NB_SERVERS |
Constructor and Description |
---|
TestRegionReplicaReplication() |
Modifier and Type | Method and Description |
---|---|
static void |
afterClass() |
static void |
beforeClass() |
private void |
createOrEnableTableWithRetries(org.apache.hadoop.hbase.client.TableDescriptor htd,
boolean createTableOperation) |
private void |
testRegionReplicaReplication(int regionReplication,
boolean skipWAL) |
void |
testRegionReplicaReplicationForFlushAndCompaction() |
void |
testRegionReplicaReplicationWith10Replicas() |
void |
testRegionReplicaReplicationWith2Replicas() |
void |
testRegionReplicaReplicationWith3Replicas() |
void |
testRegionReplicaWithoutMemstoreReplication() |
private void |
verifyReplication(org.apache.hadoop.hbase.TableName tableName,
int regionReplication,
int startRow,
int endRow) |
private void |
verifyReplication(org.apache.hadoop.hbase.TableName tableName,
int regionReplication,
int startRow,
int endRow,
boolean present) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final int NB_SERVERS
private static final HBaseTestingUtil HTU
public org.junit.rules.TestName name
public TestRegionReplicaReplication()
public static void beforeClass() throws Exception
Exception
public static void afterClass() throws Exception
Exception
private void testRegionReplicaReplication(int regionReplication, boolean skipWAL) 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
private void createOrEnableTableWithRetries(org.apache.hadoop.hbase.client.TableDescriptor htd, boolean createTableOperation)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.