| Package | Description |
|---|---|
| org.apache.hadoop.ha | |
| org.apache.hadoop.security | |
| org.apache.hadoop.util.curator |
This package provides utilities to interact with Curator ZooKeeper.
|
| 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 |
|---|---|---|
static void |
SecurityUtil.setSslConfiguration(org.apache.zookeeper.client.ZKClientConfig zkClientConfig,
SecurityUtil.TruststoreKeystore truststoreKeystore) |
Configure ZooKeeper Client with SSL/TLS connection.
|
static void |
SecurityUtil.setSslConfiguration(org.apache.zookeeper.client.ZKClientConfig zkClientConfig,
SecurityUtil.TruststoreKeystore truststoreKeystore,
org.apache.zookeeper.common.ClientX509Util x509Util) |
|
static void |
SecurityUtil.validateSslConfiguration(SecurityUtil.TruststoreKeystore truststoreKeystore) |
| Constructor | Description |
|---|---|
HadoopZookeeperFactory(java.lang.String zkPrincipal,
java.lang.String kerberosPrincipal,
java.lang.String kerberosKeytab,
boolean sslEnabled,
SecurityUtil.TruststoreKeystore truststoreKeystore) |
Constructor for the helper class to configure the ZooKeeper client connection.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.