Class TestReplicationAdminWithClusters
java.lang.Object
org.apache.hadoop.hbase.replication.TestReplicationBase
org.apache.hadoop.hbase.client.replication.TestReplicationAdminWithClusters
Unit testing of ReplicationAdmin with clusters
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
TestReplicationBase.ReplicationEndpointTest
-
Field Summary
Modifier and TypeFieldDescription(package private) static org.apache.hadoop.hbase.client.Admin
(package private) static org.apache.hadoop.hbase.client.Admin
(package private) static org.apache.hadoop.hbase.client.replication.ReplicationAdmin
static final HBaseClassTestRule
(package private) static org.apache.hadoop.hbase.client.Connection
(package private) static org.apache.hadoop.hbase.client.Connection
org.junit.rules.TestName
Fields inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static void
static void
void
void
void
void
void
void
void
void
void
void
void
Methods inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
addPeer, cleanUp, createTable, isSerialPeer, loadData, loadData, removePeer, runSimplePutDeleteTest, runSmallBatchTest, setUpBase, setupConfig, tearDownBase, waitForReplication, waitForReplication
-
Field Details
-
CLASS_RULE
-
connection1
-
connection2
-
admin1
-
admin2
-
adminExt
-
name
-
-
Constructor Details
-
TestReplicationAdminWithClusters
public TestReplicationAdminWithClusters()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
disableNotFullReplication
- Throws:
Exception
-
testEnableReplicationWhenSlaveClusterDoesntHaveTable
- Throws:
Exception
-
testEnableReplicationWhenReplicationNotEnabled
- Throws:
Exception
-
testEnableReplicationWhenTableDescriptorIsNotSameInClusters
- Throws:
Exception
-
testDisableAndEnableReplication
- Throws:
Exception
-
testEnableReplicationForTableWithRegionReplica
- Throws:
Exception
-
testDisableReplicationForNonExistingTable
- Throws:
Exception
-
testEnableReplicationForNonExistingTable
- Throws:
Exception
-
testDisableReplicationWhenTableNameAsNull
- Throws:
Exception
-
testEnableReplicationWhenTableNameAsNull
- Throws:
Exception
-
testEnableReplicationForExplicitSetTableCfs
- Throws:
Exception
-
testReplicationPeerConfigUpdateCallback
- Throws:
Exception
-