public class TestReplicationAdminWithClusters extends TestReplicationBase
Modifier and Type | Class and Description |
---|---|
static class |
TestReplicationAdminWithClusters.TestUpdatableReplicationEndpoint |
TestReplicationBase.ReplicationEndpointTest
Modifier and Type | Field and Description |
---|---|
(package private) static org.apache.hadoop.hbase.client.Admin |
admin1 |
(package private) static org.apache.hadoop.hbase.client.Admin |
admin2 |
(package private) static org.apache.hadoop.hbase.client.replication.ReplicationAdmin |
adminExt |
static HBaseClassTestRule |
CLASS_RULE |
(package private) static org.apache.hadoop.hbase.client.Connection |
connection1 |
(package private) static org.apache.hadoop.hbase.client.Connection |
connection2 |
org.junit.rules.TestName |
name |
admin, CONF_WITH_LOCALFS, CONF1, CONF2, famName, hbaseAdmin, htable1, htable2, NB_RETRIES, NB_ROWS_IN_BATCH, NB_ROWS_IN_BIG_BATCH, noRepfamName, NUM_SLAVES1, NUM_SLAVES2, PEER_ID2, replicateCount, replicatedEntries, row, SLEEP_TIME, tableName, UTIL1, UTIL2
Constructor and Description |
---|
TestReplicationAdminWithClusters() |
Modifier and Type | Method and Description |
---|---|
void |
disableNotFullReplication() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testDisableAndEnableReplication() |
void |
testDisableReplicationForNonExistingTable() |
void |
testDisableReplicationWhenTableNameAsNull() |
void |
testEnableReplicationForExplicitSetTableCfs() |
void |
testEnableReplicationForNonExistingTable() |
void |
testEnableReplicationForTableWithRegionReplica() |
void |
testEnableReplicationWhenReplicationNotEnabled() |
void |
testEnableReplicationWhenSlaveClusterDoesntHaveTable() |
void |
testEnableReplicationWhenTableDescriptorIsNotSameInClusters() |
void |
testEnableReplicationWhenTableNameAsNull() |
void |
testReplicationPeerConfigUpdateCallback() |
addPeer, cleanUp, createTable, isSerialPeer, loadData, loadData, removePeer, runSimplePutDeleteTest, runSmallBatchTest, setUpBase, setupConfig, tearDownBase, waitForReplication, waitForReplication
public static final HBaseClassTestRule CLASS_RULE
static org.apache.hadoop.hbase.client.Connection connection1
static org.apache.hadoop.hbase.client.Connection connection2
static org.apache.hadoop.hbase.client.Admin admin1
static org.apache.hadoop.hbase.client.Admin admin2
static org.apache.hadoop.hbase.client.replication.ReplicationAdmin adminExt
public org.junit.rules.TestName name
public TestReplicationAdminWithClusters()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void disableNotFullReplication() throws Exception
Exception
public void testEnableReplicationWhenSlaveClusterDoesntHaveTable() throws Exception
Exception
public void testEnableReplicationWhenReplicationNotEnabled() throws Exception
Exception
public void testEnableReplicationWhenTableDescriptorIsNotSameInClusters() throws Exception
Exception
public void testDisableAndEnableReplication() throws Exception
Exception
public void testEnableReplicationForTableWithRegionReplica() throws Exception
Exception
public void testDisableReplicationForNonExistingTable() throws Exception
Exception
public void testEnableReplicationForNonExistingTable() throws Exception
Exception
public void testDisableReplicationWhenTableNameAsNull() throws Exception
Exception
public void testEnableReplicationWhenTableNameAsNull() throws Exception
Exception
public void testEnableReplicationForExplicitSetTableCfs() throws Exception
Exception
public void testReplicationPeerConfigUpdateCallback() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.