public class TestMultiSlaveReplication extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf1 |
private static org.apache.hadoop.conf.Configuration |
conf2 |
private static org.apache.hadoop.conf.Configuration |
conf3 |
private static byte[] |
famName |
private static org.slf4j.Logger |
LOG |
private static int |
NB_RETRIES |
private static byte[] |
noRepfamName |
private static byte[] |
row |
private static byte[] |
row1 |
private static byte[] |
row2 |
private static byte[] |
row3 |
private static long |
SLEEP_TIME |
private static org.apache.hadoop.hbase.HTableDescriptor |
table |
private static org.apache.hadoop.hbase.TableName |
tableName |
private static HBaseTestingUtility |
utility1 |
private static HBaseTestingUtility |
utility2 |
private static HBaseTestingUtility |
utility3 |
Constructor and Description |
---|
TestMultiSlaveReplication() |
Modifier and Type | Method and Description |
---|---|
private void |
checkRow(byte[] row,
int count,
org.apache.hadoop.hbase.client.Table... tables) |
private void |
checkWithWait(byte[] row,
int count,
org.apache.hadoop.hbase.client.Table table) |
private void |
deleteAndWait(byte[] row,
org.apache.hadoop.hbase.client.Table source,
org.apache.hadoop.hbase.client.Table... targets) |
private void |
putAndWait(byte[] row,
byte[] fam,
org.apache.hadoop.hbase.client.Table source,
org.apache.hadoop.hbase.client.Table... targets) |
private void |
rollWALAndWait(HBaseTestingUtility utility,
org.apache.hadoop.hbase.TableName table,
byte[] row) |
static void |
setUpBeforeClass() |
void |
testMultiSlaveReplication() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static org.apache.hadoop.conf.Configuration conf1
private static org.apache.hadoop.conf.Configuration conf2
private static org.apache.hadoop.conf.Configuration conf3
private static HBaseTestingUtility utility1
private static HBaseTestingUtility utility2
private static HBaseTestingUtility utility3
private static final long SLEEP_TIME
private static final int NB_RETRIES
private static final org.apache.hadoop.hbase.TableName tableName
private static final byte[] famName
private static final byte[] row
private static final byte[] row1
private static final byte[] row2
private static final byte[] row3
private static final byte[] noRepfamName
private static org.apache.hadoop.hbase.HTableDescriptor table
public TestMultiSlaveReplication()
public static void setUpBeforeClass() throws Exception
Exception
public void testMultiSlaveReplication() throws Exception
Exception
private void rollWALAndWait(HBaseTestingUtility utility, org.apache.hadoop.hbase.TableName table, byte[] row) throws IOException
IOException
private void checkWithWait(byte[] row, int count, org.apache.hadoop.hbase.client.Table table) throws Exception
Exception
private void checkRow(byte[] row, int count, org.apache.hadoop.hbase.client.Table... tables) throws IOException
IOException
private void deleteAndWait(byte[] row, org.apache.hadoop.hbase.client.Table source, org.apache.hadoop.hbase.client.Table... targets) throws Exception
Exception
private void putAndWait(byte[] row, byte[] fam, org.apache.hadoop.hbase.client.Table source, org.apache.hadoop.hbase.client.Table... targets) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.