Class TestReplicationStateZKImpl
java.lang.Object
org.apache.hadoop.hbase.replication.TestReplicationStateBasic
org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
private static String
private static HBaseZKTestingUtil
private static org.apache.hadoop.hbase.zookeeper.ZKWatcher
Fields inherited from class org.apache.hadoop.hbase.replication.TestReplicationStateBasic
ID_ONE, ID_TWO, KEY_ONE, KEY_TWO, OUR_KEY, rp, server1, server2, server3, ZK_MAX_COUNT, ZK_SLEEP_INTERVAL, zkTimeoutCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static String
initPeerClusterState
(String baseZKNode) void
setUp()
static void
void
tearDown()
static void
Methods inherited from class org.apache.hadoop.hbase.replication.TestReplicationStateBasic
testReplicationPeers
-
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:
IOException
org.apache.zookeeper.KeeperException
-
setUp
- Throws:
IOException
-
tearDown
- Throws:
org.apache.zookeeper.KeeperException
IOException
-
tearDownAfterClass
- Throws:
Exception
-