Class TestReplicationStateZKImpl
java.lang.Object
org.apache.hadoop.hbase.replication.TestReplicationStateBasic
org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.conf.Configurationprivate static Stringprivate static HBaseZKTestingUtilityprivate static org.apache.hadoop.hbase.zookeeper.ZKWatcherFields inherited from class org.apache.hadoop.hbase.replication.TestReplicationStateBasic
ID_ONE, ID_TWO, KEY_ONE, KEY_TWO, OUR_KEY, rp, rqs, server1, server2, server3, ZK_MAX_COUNT, ZK_SLEEP_INTERVAL, zkTimeoutCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static StringinitPeerClusterState(String baseZKNode) voidsetUp()static voidvoidtearDown()static voidMethods inherited from class org.apache.hadoop.hbase.replication.TestReplicationStateBasic
assertConnectedPeerStatus, assertNumberOfPeers, populateQueues, testHfileRefsReplicationQueues, testPersistLogPositionAndSeqIdAtomically, testRemovePeerForHFileRefs, testReplicationPeers, testReplicationQueues, testReplicationQueueStorage
-
Field Details
-
CLASS_RULE
-
conf
-
utility
-
zkw
-
replicationZNode
-
-
Constructor Details
-
TestReplicationStateZKImpl
public TestReplicationStateZKImpl()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
initPeerClusterState
private static String initPeerClusterState(String baseZKNode) throws IOException, org.apache.zookeeper.KeeperException - Throws:
IOExceptionorg.apache.zookeeper.KeeperException
-
setUp
- Throws:
IOException
-
tearDown
- Throws:
org.apache.zookeeper.KeeperExceptionIOException
-
tearDownAfterClass
- Throws:
Exception
-