public class TestPerTableCFReplication 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[] |
f1Name |
private static byte[] |
f2Name |
private static byte[] |
f3Name |
private static byte[] |
famName |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static int |
NB_RETRIES |
private static byte[] |
noRepfamName |
private static byte[] |
row1 |
private static byte[] |
row2 |
private static long |
SLEEP_TIME |
private static org.apache.hadoop.hbase.HTableDescriptor |
tabA |
private static org.apache.hadoop.hbase.TableName |
tabAName |
private static org.apache.hadoop.hbase.HTableDescriptor |
tabB |
private static org.apache.hadoop.hbase.TableName |
tabBName |
private static org.apache.hadoop.hbase.HTableDescriptor |
tabC |
private static org.apache.hadoop.hbase.TableName |
tabCName |
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 |
private static byte[] |
val |
Constructor and Description |
---|
TestPerTableCFReplication() |
Modifier and Type | Method and Description |
---|---|
private void |
deleteAndWaitWithFamily(byte[] row,
byte[] fam,
org.apache.hadoop.hbase.client.Table source,
org.apache.hadoop.hbase.client.Table... targets) |
private void |
ensureRowNotReplicated(byte[] row,
byte[] fam,
org.apache.hadoop.hbase.client.Table... tables) |
private void |
putAndWaitWithFamily(byte[] row,
byte[] fam,
org.apache.hadoop.hbase.client.Table source,
org.apache.hadoop.hbase.client.Table... targets) |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testParseTableCFsFromConfig() |
void |
testPerTableCFReplication() |
void |
testTableCFsHelperConverter() |
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 org.apache.hadoop.hbase.TableName tabAName
private static final org.apache.hadoop.hbase.TableName tabBName
private static final org.apache.hadoop.hbase.TableName tabCName
private static final byte[] famName
private static final byte[] f1Name
private static final byte[] f2Name
private static final byte[] f3Name
private static final byte[] row1
private static final byte[] row2
private static final byte[] noRepfamName
private static final byte[] val
private static org.apache.hadoop.hbase.HTableDescriptor table
private static org.apache.hadoop.hbase.HTableDescriptor tabA
private static org.apache.hadoop.hbase.HTableDescriptor tabB
private static org.apache.hadoop.hbase.HTableDescriptor tabC
public org.junit.rules.TestName name
public TestPerTableCFReplication()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testParseTableCFsFromConfig()
public void testTableCFsHelperConverter()
public void testPerTableCFReplication() throws Exception
Exception
private void ensureRowNotReplicated(byte[] row, byte[] fam, org.apache.hadoop.hbase.client.Table... tables) throws IOException
IOException
private void deleteAndWaitWithFamily(byte[] row, byte[] fam, org.apache.hadoop.hbase.client.Table source, org.apache.hadoop.hbase.client.Table... targets) throws Exception
Exception
private void putAndWaitWithFamily(byte[] row, byte[] fam, org.apache.hadoop.hbase.client.Table source, org.apache.hadoop.hbase.client.Table... targets) throws Exception
Exception
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.