- checkAndSetZNodeAcls() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
On master start, we check the znode ACLs under the root directory and set the ACLs properly if
needed.
- checkExists(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Check if the specified node exists.
- checkIfBaseNodeAvailable() - Method in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
-
Checks if the baseznode set as per the property 'zookeeper.znode.parent' exists.
- checkZk() - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
Try to create a ZooKeeper connection.
- close() - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
- close() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
Close the connection to ZooKeeper.
- ClusterStatusTracker - Class in org.apache.hadoop.hbase.zookeeper
-
Tracker on cluster settings up in zookeeper.
- ClusterStatusTracker(ZKWatcher, Abortable) - Constructor for class org.apache.hadoop.hbase.zookeeper.ClusterStatusTracker
-
Creates a cluster status tracker.
- connect(Configuration, Watcher) - Static method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
- connect(Configuration, String, Watcher) - Static method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
- connect(Configuration, String, Watcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
Creates a new connection to ZooKeeper, pulling settings and ensemble config from the specified
configuration object using methods from
ZKConfig.
- convert(DeserializationException) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
- create(String, byte[], List<ACL>, CreateMode) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
NONSEQUENTIAL create is idempotent operation.
- createACL(String) - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
- createACL(String, boolean) - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
- createAndFailSilent(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Creates the specified node, iff the node does not exist.
- createAndFailSilent(ZKWatcher, String, byte[]) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Creates the specified node containing specified data, iff the node does not exist.
- createAndFailSilent(String, byte[]) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp
-
Returns a createAndFailSilent ZKUtilOp
- createAndWatch(ZKWatcher, String, byte[]) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Creates the specified node with the specified data and watches it.
- createEphemeralNodeAndWatch(ZKWatcher, String, byte[]) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Set the specified znode to be an ephemeral node carrying the specified data.
- createNodeIfNotExistsAndWatch(ZKWatcher, String, byte[]) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Creates the specified znode to be a persistent node carrying the specified data.
- createNodeIfNotExistsNoWatch(ZKWatcher, String, byte[], CreateMode) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Creates the specified znode with the specified data but does not watch it.
- createSetData(ZKWatcher, String, byte[]) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Set data into node creating node if it doesn't yet exist.
- createWithParents(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Creates the specified node and all parent nodes required for it to exist.
- createWithParents(ZKWatcher, String, byte[]) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Creates the specified node and all parent nodes required for it to exist.
- getAcl(String, Stat) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
getAcl is an idempotent operation.
- getAddress() - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
-
Returns Address for this cluster instance.
- getBackupMasterInfoPort(ServerName) - Method in class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
-
Get the info port of the backup master if it is available.
- getBackupMasterInfoPort(ZKWatcher, ServerName) - Static method in class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
-
Get backup master info port.
- getBackupMasters() - Method in class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
-
- getBackupMastersAndRenewWatch(ZKWatcher) - Static method in class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
-
Retrieves the list of registered backup masters and renews a watch on the znode for children
updates.
- getBackupZooKeeperServerNum() - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
-
- getChildDataAndWatchForNewChildren(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
- getChildDataAndWatchForNewChildren(ZKWatcher, String, boolean) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
- getChildren(String, Watcher) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
getChildren is an idempotent operation.
- getChildren(String, boolean) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
getChildren is an idempotent operation.
- getClientPort() - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
-
- getClientPortList() - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
-
Get the list of client ports.
- getConfiguration() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
- getData(String, Watcher, Stat) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
getData is an idempotent operation.
- getData(String, boolean, Stat) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
getData is an idempotent operation.
- getData(boolean) - Method in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
-
Gets the data of the node.
- getData(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Get znode data.
- getData() - Method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.NodeAndData
-
Deprecated.
- getData() - Method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.CreateAndFailSilent
-
- getData() - Method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.SetData
-
- getDataAndWatch(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Get the data at the specified znode and set a watch.
- getDataAndWatch(ZKWatcher, String, boolean) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Get the data at the specified znode and set a watch.
- getDataAndWatch(ZKWatcher, String, Stat) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Get the data at the specified znode and set a watch.
- getDataNoWatch(ZKWatcher, String, Stat) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Get the data at the specified znode without setting a watch.
- getEncodedNodeName(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKSplitLog
-
Deprecated.
Gets the full path node name for the log file being split.
- getException() - Method in class org.apache.hadoop.hbase.zookeeper.DeletionListener
-
Get the last exception which has occurred when re-setting the watch.
- getFileName(String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKSplitLog
-
Deprecated.
- getId() - Method in class org.apache.hadoop.hbase.zookeeper.ZKClusterId
-
- getIdentifier() - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
- getListeners() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
Get a copy of current registered listeners
- getMasterAddress() - Method in class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
-
Get the address of the current master if one is available.
- getMasterAddress(boolean) - Method in class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
-
Get the address of the current master if one is available.
- getMasterAddress(ZKWatcher) - Static method in class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
-
Get master address.
- getMasterInfoPort() - Method in class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
-
Get the info port of the current master of one is available.
- getMasterInfoPort(ZKWatcher) - Static method in class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
-
Get master info port.
- getMaxMultiSizeLimit() - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
Returns the maximum size (in bytes) that should be included in any single multi() call.
- getMetaRegionLocation(ZKWatcher) - Static method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
-
Gets the meta region location, if available.
- getMetaRegionLocation(ZKWatcher, int) - Static method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
-
Gets the meta region location, if available.
- getMetaRegionState(ZKWatcher) - Static method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
-
Load the meta region state from the meta server ZNode.
- getMetaRegionState(ZKWatcher, int) - Static method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
-
Load the meta region state from the meta region server ZNode.
- getMetaReplicaNodes() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
Get the znodes corresponding to the meta replicas from ZK
- getMetaReplicaNodesAndWatchChildren() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
- getNode() - Method in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
-
- getNode() - Method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.NodeAndData
-
Deprecated.
- getNodeName(String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Get the name of the current node from the specified fully-qualified path.
- getNumberOfChildren(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Get the number of children of the specified node.
- getNumberOfListeners() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
Returns The number of currently registered listeners
- getParent(String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Returns the full path of the immediate parent of the specified node.
- getPath() - Method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp
-
Returns path to znode where the ZKOp will occur
- getQuorum() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
Get the quorum address of this instance.
- getRecoverableZooKeeper() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
Get the connection to ZooKeeper.
- getReplicationZnodesDump(ZKWatcher) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKDump
-
Returns a string with replication znodes and position of the replication log
- getRescanNode(ZKWatcher) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKSplitLog
-
Deprecated.
- getSessionId() - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
- getSplitLogDir(Path, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKSplitLog
-
Deprecated.
- getState() - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
- getUUIDForCluster(ZKWatcher) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKClusterId
-
Get the UUID for the provided ZK watcher.
- getVersion() - Method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.SetData
-
- getWatcher() - Method in class org.apache.hadoop.hbase.zookeeper.ZKListener
-
Returns The watcher associated with this listener
- getZNodePaths() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
Get the znodePaths.
- getZooKeeper() - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
- getZooKeeperServerNum() - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
-
- setAcl(String, List<ACL>, int) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
setAcl is an idempotent operation.
- setClusterDown() - Method in class org.apache.hadoop.hbase.zookeeper.ClusterStatusTracker
-
Sets the cluster as down by deleting the znode.
- setClusterId(ZKWatcher, ClusterId) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKClusterId
-
- setClusterUp() - Method in class org.apache.hadoop.hbase.zookeeper.ClusterStatusTracker
-
Sets the cluster as up.
- setData(String, byte[], int) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
setData is NOT an idempotent operation.
- setData(ZKWatcher, String, byte[], int) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Sets the data of the existing znode to be the specified data.
- setData(ZKWatcher, String, byte[]) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Sets the data of the existing znode to be the specified data.
- setData(String, byte[]) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp
-
Returns a setData ZKUtilOp
- setData(String, byte[], int) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp
-
Returns a setData ZKUtilOp
- setDefaultClientPort(int) - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
-
- setMasterAddress(ZKWatcher, String, ServerName, int) - Static method in class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
-
Set master address into the master znode or into the backup subdirectory of backup
masters; switch off the passed in znode path.
- setMetaLocation(ZKWatcher, ServerName, RegionState.State) - Static method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
-
Sets the location of hbase:meta in ZooKeeper to the specified server address.
- setMetaLocation(ZKWatcher, ServerName, int, RegionState.State) - Static method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
-
Sets the location of hbase:meta in ZooKeeper to the specified server address.
- setTickTime(int) - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
-
- setWatchIfNodeExists(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
-
Watch the specified znode, but only if exists.
- shutdown() - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
-
- start() - Method in class org.apache.hadoop.hbase.zookeeper.MasterMaintenanceModeTracker
-
Starts the tracking of whether master is in Maintenance Mode.
- start() - Method in class org.apache.hadoop.hbase.zookeeper.ZKLeaderManager
-
Deprecated.
- start() - Method in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
-
Starts the tracking of the node in ZooKeeper.
- startup(File) - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
-
- startup(File, int) - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
-
- stepDownAsLeader() - Method in class org.apache.hadoop.hbase.zookeeper.ZKLeaderManager
-
Deprecated.
Removes the leader znode, if it is currently claimed by this instance.
- stop() - Method in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
-
- sync(String, AsyncCallback.VoidCallback, Object) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
-
- syncOrTimeout(String) - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
Forces a synchronization of this ZooKeeper client connection within a timeout.
- ZKAclReset - Class in org.apache.hadoop.hbase.zookeeper
-
You may add the jaas.conf option -Djava.security.auth.login.config=/PATH/jaas.conf You may also
specify -D to set options "hbase.zookeeper.quorum" (it should be in hbase-site.xml)
"zookeeper.znode.parent" (it should be in hbase-site.xml) Use -set-acls to set the ACLs, no
option to erase ACLs
- ZKAclReset() - Constructor for class org.apache.hadoop.hbase.zookeeper.ZKAclReset
-
- ZKAuthentication - Class in org.apache.hadoop.hbase.zookeeper
-
Provides ZooKeeper authentication services for both client and server processes.
- ZKClusterId - Class in org.apache.hadoop.hbase.zookeeper
-
Publishes and synchronizes a unique identifier specific to a given HBase cluster.
- ZKClusterId(ZKWatcher, Abortable) - Constructor for class org.apache.hadoop.hbase.zookeeper.ZKClusterId
-
- ZKDump - Class in org.apache.hadoop.hbase.zookeeper
-
Builds a string containing everything in ZooKeeper.
- ZKLeaderManager - Class in org.apache.hadoop.hbase.zookeeper
-
- ZKLeaderManager(ZKWatcher, String, byte[], Stoppable) - Constructor for class org.apache.hadoop.hbase.zookeeper.ZKLeaderManager
-
Deprecated.
- ZKListener - Class in org.apache.hadoop.hbase.zookeeper
-
Base class for internal listeners of ZooKeeper events.
- ZKListener(ZKWatcher) - Constructor for class org.apache.hadoop.hbase.zookeeper.ZKListener
-
Construct a ZooKeeper event listener.
- ZKMainServer - Class in org.apache.hadoop.hbase.zookeeper
-
Tool for running ZookeeperMain from HBase by reading a ZooKeeper server from HBase XML
configuration.
- ZKMainServer() - Constructor for class org.apache.hadoop.hbase.zookeeper.ZKMainServer
-
- ZKNodeTracker - Class in org.apache.hadoop.hbase.zookeeper
-
Tracks the availability and value of a single ZooKeeper node.
- ZKNodeTracker(ZKWatcher, String, Abortable) - Constructor for class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
-
Constructs a new ZK node tracker.
- ZKServerTool - Class in org.apache.hadoop.hbase.zookeeper
-
Tool for reading ZooKeeper servers from HBase XML configuration and producing a line-by-line list
for use by bash scripts.
- ZKSplitLog - Class in org.apache.hadoop.hbase.zookeeper
-
- ZKUtil - Class in org.apache.hadoop.hbase.zookeeper
-
Internal HBase utility class for ZooKeeper.
- ZKUtil.NodeAndData - Class in org.apache.hadoop.hbase.zookeeper
-
- ZKUtil.ZKUtilOp - Class in org.apache.hadoop.hbase.zookeeper
-
Represents an action taken by ZKUtil, e.g.
- ZKUtil.ZKUtilOp.CreateAndFailSilent - Class in org.apache.hadoop.hbase.zookeeper
-
ZKUtilOp representing createAndFailSilent in ZooKeeper (attempt to create node, ignore error
if already exists)
- ZKUtil.ZKUtilOp.DeleteNodeFailSilent - Class in org.apache.hadoop.hbase.zookeeper
-
ZKUtilOp representing deleteNodeFailSilent in ZooKeeper (attempt to delete node, ignore error
if node doesn't exist)
- ZKUtil.ZKUtilOp.SetData - Class in org.apache.hadoop.hbase.zookeeper
-
ZKUtilOp representing setData in ZooKeeper
- ZKWatcher - Class in org.apache.hadoop.hbase.zookeeper
-
Acts as the single ZooKeeper Watcher.
- ZKWatcher(Configuration, String, Abortable) - Constructor for class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
Instantiate a ZooKeeper connection and watcher.
- ZKWatcher(Configuration, String, Abortable, boolean) - Constructor for class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
Instantiate a ZooKeeper connection and watcher.
- ZKWatcher(Configuration, String, Abortable, boolean, boolean) - Constructor for class org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
Instantiate a ZooKeeper connection and watcher.