Class TestPerTableCFReplication
java.lang.Object
org.apache.hadoop.hbase.replication.TestPerTableCFReplication
-
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 byte[]
private static final byte[]
private static final byte[]
private static final org.slf4j.Logger
org.junit.rules.TestName
private static final int
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 org.apache.hadoop.hbase.client.TableDescriptor
private static final org.apache.hadoop.hbase.TableName
private static org.apache.hadoop.hbase.client.TableDescriptor
private static final org.apache.hadoop.hbase.TableName
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
private static final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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
static void
void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
conf1
-
conf2
-
conf3
-
utility1
-
utility2
-
utility3
-
SLEEP_TIME
- See Also:
-
NB_RETRIES
- See Also:
-
tableName
-
tabAName
-
tabBName
-
tabCName
-
famName
-
f1Name
-
f2Name
-
f3Name
-
row1
-
row2
-
noRepfamName
-
val
-
table
-
tabA
-
tabB
-
tabC
-
name
-
-
Constructor Details
-
TestPerTableCFReplication
public TestPerTableCFReplication()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testParseTableCFsFromConfig
-
testTableCFsHelperConverter
-
testPerTableCFReplication
- Throws:
Exception
-
ensureRowNotReplicated
private void ensureRowNotReplicated(byte[] row, byte[] fam, org.apache.hadoop.hbase.client.Table... tables) throws IOException - Throws:
IOException
-
deleteAndWaitWithFamily
private void deleteAndWaitWithFamily(byte[] row, byte[] fam, org.apache.hadoop.hbase.client.Table source, org.apache.hadoop.hbase.client.Table... targets) throws Exception - Throws:
Exception
-
putAndWaitWithFamily
private void putAndWaitWithFamily(byte[] row, byte[] fam, org.apache.hadoop.hbase.client.Table source, org.apache.hadoop.hbase.client.Table... targets) throws Exception - Throws:
Exception
-