Class TestZKLeaderManager
java.lang.Object
org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static TestZKLeaderManager.MockLeader[]
static final HBaseClassTestRule
private static final String
private static final org.slf4j.Logger
private static HBaseZKTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate TestZKLeaderManager.MockLeader
private static org.apache.hadoop.hbase.zookeeper.ZKWatcher
newZK
(org.apache.hadoop.conf.Configuration conf, String name, org.apache.hadoop.hbase.Abortable abort) static void
static void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
LEADER_ZNODE
-
TEST_UTIL
-
CANDIDATES
-
-
Constructor Details
-
TestZKLeaderManager
public TestZKLeaderManager()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testLeaderSelection
- Throws:
Exception
-
getCurrentLeader
-
newZK
private static org.apache.hadoop.hbase.zookeeper.ZKWatcher newZK(org.apache.hadoop.conf.Configuration conf, String name, org.apache.hadoop.hbase.Abortable abort) throws Exception - Throws:
Exception
-