Class TestMultiSlaveReplication
java.lang.Object
org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
private static org.apache.hadoop.conf.Configuration
private static org.apache.hadoop.conf.Configuration
private static final byte[]
private static final org.slf4j.Logger
private static final int
private static final byte[]
private static final byte[]
private static final byte[]
private static final byte[]
private static final byte[]
private static final long
private static org.apache.hadoop.hbase.client.TableDescriptor
private static final org.apache.hadoop.hbase.TableName
private static HBaseTestingUtil
private static HBaseTestingUtil
private static HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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
(HBaseTestingUtil utility, org.apache.hadoop.hbase.TableName table, byte[] row) static void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
conf1
-
conf2
-
conf3
-
utility1
-
utility2
-
utility3
-
SLEEP_TIME
- See Also:
-
NB_RETRIES
- See Also:
-
tableName
-
famName
-
row
-
row1
-
row2
-
row3
-
noRepfamName
-
table
-
-
Constructor Details
-
TestMultiSlaveReplication
public TestMultiSlaveReplication()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
testMultiSlaveReplication
- Throws:
Exception
-
rollWALAndWait
private void rollWALAndWait(HBaseTestingUtil utility, org.apache.hadoop.hbase.TableName table, byte[] row) throws IOException - Throws:
IOException
-
checkWithWait
private void checkWithWait(byte[] row, int count, org.apache.hadoop.hbase.client.Table table) throws Exception - Throws:
Exception
-
checkRow
private void checkRow(byte[] row, int count, org.apache.hadoop.hbase.client.Table... tables) throws IOException - Throws:
IOException
-
deleteAndWait
private void deleteAndWait(byte[] row, org.apache.hadoop.hbase.client.Table source, org.apache.hadoop.hbase.client.Table... targets) throws Exception - Throws:
Exception
-
putAndWait
private void putAndWait(byte[] row, byte[] fam, org.apache.hadoop.hbase.client.Table source, org.apache.hadoop.hbase.client.Table... targets) throws Exception - Throws:
Exception
-