Package | Description |
---|---|
org.apache.hadoop.ha | |
org.apache.hadoop.util |
Common utilities.
|
Constructor and Description |
---|
ActiveStandbyElector(String zookeeperHostPorts,
int zookeeperSessionTimeout,
String parentZnodeName,
List<org.apache.zookeeper.data.ACL> acl,
List<ZKUtil.ZKAuthInfo> authInfo,
ActiveStandbyElector.ActiveStandbyElectorCallback app)
Create a new ActiveStandbyElector object
The elector is created by providing to it the Zookeeper configuration, the parent znode under which to create the znode and a reference to the callback interface. |
Modifier and Type | Method and Description |
---|---|
static List<ZKUtil.ZKAuthInfo> |
ZKUtil.parseAuth(String authString)
Parse a comma-separated list of authentication mechanisms.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.