| Package | Description |
|---|---|
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.ha | |
| org.apache.hadoop.ipc |
Tools to help define network clients and servers.
|
| org.apache.hadoop.util |
Common utilities.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
InvalidPathException |
Path string is invalid either because it has invalid characters or due to
other file system specific reasons.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ActiveStandbyElector.joinElection(byte[] data) |
To participate in election, the app will call joinElection.
|
| Constructor | Description |
|---|---|
ActiveStandbyElector(java.lang.String zookeeperHostPorts,
int zookeeperSessionTimeout,
java.lang.String parentZnodeName,
java.util.List<org.apache.zookeeper.data.ACL> acl,
java.util.List<ZKUtil.ZKAuthInfo> authInfo,
ActiveStandbyElector.ActiveStandbyElectorCallback app,
int maxRetryNum,
boolean failFast,
SecurityUtil.TruststoreKeystore truststoreKeystore) |
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. |
ActiveStandbyElector(java.lang.String zookeeperHostPorts,
int zookeeperSessionTimeout,
java.lang.String parentZnodeName,
java.util.List<org.apache.zookeeper.data.ACL> acl,
java.util.List<ZKUtil.ZKAuthInfo> authInfo,
ActiveStandbyElector.ActiveStandbyElectorCallback app,
int maxRetryNum,
SecurityUtil.TruststoreKeystore truststoreKeystore) |
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 | Description |
|---|---|---|
RPC.Server |
RPC.Builder.build() |
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ZKUtil.BadAclFormatException |
|
static class |
ZKUtil.BadAuthFormatException |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.