Skip navigation links
A B C D E G H I K L M N O P R S T U V W Z 

A

abort(String, Throwable) - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
 
abortable - Variable in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
Used to abort if a fatal error occurs
abortable - Variable in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
 
addClientPort(int) - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
Add a client port to the list.
asyncCreate(ZKWatcher, String, byte[], AsyncCallback.StringCallback, Object) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Async creates the specified node with the specified data.

B

blockUntilAvailable(ZKWatcher, long, Configuration) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Wait until the primary meta region is available.
blockUntilAvailable(ZKWatcher, long) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Wait until the meta region is available and is not in transition.
blockUntilAvailable(ZKWatcher, int, long) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Wait until the meta region is available and is not in transition.
blockUntilAvailable() - Method in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
Gets the data of the node, blocking until the node is available.
blockUntilAvailable(long, boolean) - Method in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
Gets the data of the node, blocking until the node is available or the specified timeout has elapsed.

C

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.ZKUtil
Creates a new connection to ZooKeeper, pulling settings and ensemble config from the specified configuration object using methods from ZKConfig.
connect(Configuration, String, Watcher) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
 
connect(Configuration, String, Watcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
 
convert(DeserializationException) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Convert a DeserializationException to a more palatable KeeperException.
create(String, byte[], List<ACL>, CreateMode) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
NONSEQUENTIAL create is idempotent operation.
createACL(ZKWatcher, String, boolean) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
 
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
 
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.

D

delete(String, int) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
delete is an idempotent operation.
deleteChildrenRecursively(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Delete all the children of the specified node but not the node itself.
deleteChildrenRecursivelyMultiOrSequential(ZKWatcher, boolean, String...) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Delete all the children of the specified node but not the node itself.
deleteIfEquals(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
delete the master znode if its content is same as the parameter
deleteMetaLocation(ZKWatcher) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Deletes the location of hbase:meta in ZooKeeper.
deleteMetaLocation(ZKWatcher, int) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
 
deleteNode(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Delete the specified node.
deleteNode(ZKWatcher, String, int) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Delete the specified node with the specified version.
deleteNodeFailSilent(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Deletes the specified node.
deleteNodeFailSilent(String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp
 
deleteNodeRecursively(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Delete the specified node and all of it's children.
deleteNodeRecursivelyMultiOrSequential(ZKWatcher, boolean, String...) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Delete the specified node and its children.
DeletionListener - Class in org.apache.hadoop.hbase.zookeeper
A ZooKeeper watcher meant to detect deletions of ZNodes.
DeletionListener(ZKWatcher, String, CountDownLatch) - Constructor for class org.apache.hadoop.hbase.zookeeper.DeletionListener
Create a new instance of the deletion watcher.
dump(ZKWatcher) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
 

E

EmptyWatcher - Class in org.apache.hadoop.hbase.zookeeper
An empty ZooKeeper watcher
equals(Object) - Method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.CreateAndFailSilent
 
equals(Object) - Method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.DeleteNodeFailSilent
 
equals(Object) - Method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.SetData
 
exists(String, Watcher) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
exists is an idempotent operation.
exists(String, boolean) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
exists is an idempotent operation.

G

getAcl(String, Stat) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
getAcl is an idempotent operation.
getBackupMasterInfoPort(ServerName) - Method in class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
Get the info port of the backup master if it is available.
getBackupZooKeeperServerNum() - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
 
getChildDataAndWatchForNewChildren(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Deprecated.
Unused
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, 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
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
 
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.
getMetaRegionLocation(ZKWatcher) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Gets the meta region location, if available.
getMetaRegionLocation(ZKWatcher, int) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Gets the meta region location, if available.
getMetaRegions(ZKWatcher) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Gets the meta regions for the given path with the default replica ID.
getMetaRegions(ZKWatcher, int) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Gets the meta regions for the given path and replica ID.
getMetaRegionsAndLocations(ZKWatcher) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
 
getMetaRegionsAndLocations(ZKWatcher, int) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Gets the meta regions and their locations for the given path and replica ID.
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 server ZNode.
getMetaReplicaNodes() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
Get the znodes corresponding to the meta replicas from ZK
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
 
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
 
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.ZKUtil
Returns a string with replication znodes and position of the replication log
getRescanNode(ZKWatcher) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKSplitLog
 
getServerStats(String, int) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Gets the statistics from the given server.
getSessionId() - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
 
getSessionPasswd() - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
 
getSplitLogDir(Path, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKSplitLog
 
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
 
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
 

H

hasException() - Method in class org.apache.hadoop.hbase.zookeeper.DeletionListener
Check if an exception has occurred when re-setting the watch.
hashCode() - Method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.CreateAndFailSilent
 
hashCode() - Method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.DeleteNodeFailSilent
 
hashCode() - Method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.SetData
 
hasId() - Method in class org.apache.hadoop.hbase.zookeeper.ZKClusterId
 
hasLeader() - Method in class org.apache.hadoop.hbase.zookeeper.ZKLeaderManager
Deprecated.
 
hasMaster() - Method in class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
Check if there is a master available.
HQuorumPeer - Class in org.apache.hadoop.hbase.zookeeper
HBase's version of ZooKeeper's QuorumPeer.

I

instance - Static variable in class org.apache.hadoop.hbase.zookeeper.EmptyWatcher
 
interruptedException(InterruptedException) - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
Handles InterruptedExceptions in client calls.
interruptedExceptionNoThrow(InterruptedException, boolean) - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
Log the InterruptedException and interrupt current thread
isAborted() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
 
isBalancerOn() - Method in class org.apache.hadoop.hbase.zookeeper.LoadBalancerTracker
Return true if the balance switch is on, false otherwise
isClusterUp() - Method in class org.apache.hadoop.hbase.zookeeper.ClusterStatusTracker
Checks if cluster is up.
isCorrupted(Path, String, FileSystem) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKSplitLog
 
isEmpty() - Method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.NodeAndData
Deprecated.
 
isInMaintenanceMode() - Method in class org.apache.hadoop.hbase.zookeeper.MasterMaintenanceModeTracker
 
isLocationAvailable(ZKWatcher) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Checks if the meta region location is available.
isNormalizerOn() - Method in class org.apache.hadoop.hbase.zookeeper.RegionNormalizerTracker
Return true if region normalizer is on, false otherwise
isRescanNode(String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKSplitLog
 
isRescanNode(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKSplitLog
Checks if the given path represents a rescan node.
isSecureZooKeeper(Configuration) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Returns whether or not secure authentication is enabled (whether hbase.security.authentication is set to kerberos.
isSuperUserId(String[], Id) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
 

K

keeperException(KeeperException) - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
Handles KeeperExceptions in client calls.
killCurrentActiveZooKeeperServer() - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
 
killOneBackupZooKeeperServer() - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
Kill one back up ZK servers.

L

listChildrenAndWatchForNewChildren(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Lists the children znodes of the specified znode.
listChildrenAndWatchThem(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
List all the children of the specified znode, setting a watch for children changes and also setting a watch on every individual child in order to get the NodeCreated and NodeDeleted events.
listChildrenNoWatch(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Lists the children of the specified znode without setting any watches.
LoadBalancerTracker - Class in org.apache.hadoop.hbase.zookeeper
Tracks the load balancer state up in ZK
LoadBalancerTracker(ZKWatcher, Abortable) - Constructor for class org.apache.hadoop.hbase.zookeeper.LoadBalancerTracker
 
LOG - Static variable in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
 
loginClient(Configuration, String, String, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Log in the current zookeeper client using the given configuration keys for the credential file and login principal.
loginServer(Configuration, String, String, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Log in the current zookeeper server process using the given configuration keys for the credential file and login principal.
logZKTree(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Recursively print the current state of ZK (non-transactional)
logZKTree(ZKWatcher, String, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Helper method to print the current state of the ZK tree.

M

main(String[]) - Static method in class org.apache.hadoop.hbase.zookeeper.HQuorumPeer
Parse ZooKeeper configuration from HBase XML config and run a QuorumPeer.
main(String[]) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKAclReset
 
main(String[]) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKMainServer
Run the tool.
main(String[]) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKServerTool
Run the tool.
markCorrupted(Path, String, FileSystem) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKSplitLog
 
MasterAddressTracker - Class in org.apache.hadoop.hbase.zookeeper
Manages the location of the current active Master for the RegionServer.
MasterAddressTracker(ZKWatcher, Abortable) - Constructor for class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
Construct a master address listener with the specified zookeeper reference.
MasterMaintenanceModeTracker - Class in org.apache.hadoop.hbase.zookeeper
Tracks the master Maintenance Mode via ZK.
MasterMaintenanceModeTracker(ZKWatcher) - Constructor for class org.apache.hadoop.hbase.zookeeper.MasterMaintenanceModeTracker
 
MetaTableLocator - Class in org.apache.hadoop.hbase.zookeeper
Utility class to perform operation (get/wait for/verify/set/delete) on znode in ZooKeeper which keeps hbase:meta region server location.
MetaTableLocator() - Constructor for class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
 
MiniZooKeeperCluster - Class in org.apache.hadoop.hbase.zookeeper
TODO: Most of the code in this class is ripped from ZooKeeper tests.
MiniZooKeeperCluster() - Constructor for class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
 
MiniZooKeeperCluster(Configuration) - Constructor for class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster
 
multi(Iterable<Op>) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
Run multiple operations in a transactional manner.
multiOrSequential(ZKWatcher, List<ZKUtil.ZKUtilOp>, boolean) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Use ZooKeeper's multi-update functionality.

N

node - Variable in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
Path of node being tracked
NodeAndData(String, byte[]) - Constructor for class org.apache.hadoop.hbase.zookeeper.ZKUtil.NodeAndData
Deprecated.
 
nodeChildrenChanged(String) - Method in class org.apache.hadoop.hbase.zookeeper.MasterMaintenanceModeTracker
 
nodeChildrenChanged(String) - Method in class org.apache.hadoop.hbase.zookeeper.ZKListener
Called when an existing node has a child node added or removed.
nodeCreated(String) - Method in class org.apache.hadoop.hbase.zookeeper.MasterMaintenanceModeTracker
 
nodeCreated(String) - Method in class org.apache.hadoop.hbase.zookeeper.ZKLeaderManager
Deprecated.
 
nodeCreated(String) - Method in class org.apache.hadoop.hbase.zookeeper.ZKListener
Called when a new node has been created.
nodeCreated(String) - Method in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
 
nodeDataChanged(String) - Method in class org.apache.hadoop.hbase.zookeeper.DeletionListener
 
nodeDataChanged(String) - Method in class org.apache.hadoop.hbase.zookeeper.ZKListener
Called when an existing node has changed data.
nodeDataChanged(String) - Method in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
 
nodeDeleted(String) - Method in class org.apache.hadoop.hbase.zookeeper.DeletionListener
 
nodeDeleted(String) - Method in class org.apache.hadoop.hbase.zookeeper.MasterMaintenanceModeTracker
 
nodeDeleted(String) - Method in class org.apache.hadoop.hbase.zookeeper.ZKLeaderManager
Deprecated.
 
nodeDeleted(String) - Method in class org.apache.hadoop.hbase.zookeeper.ZKListener
Called when a node has been deleted
nodeDeleted(String) - Method in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
 
nodeHasChildren(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Checks if the specified znode has any children.

O

org.apache.hadoop.hbase.zookeeper - package org.apache.hadoop.hbase.zookeeper
 

P

parse(byte[]) - Static method in class org.apache.hadoop.hbase.zookeeper.MasterAddressTracker
 
parse(Configuration) - Method in class org.apache.hadoop.hbase.zookeeper.ZKMainServer
 
parseWALPositionFrom(byte[]) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
 
positionToByteArray(long) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
 
prefix(String) - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
Adds this instance's identifier as a prefix to the passed str
process(WatchedEvent) - Method in class org.apache.hadoop.hbase.zookeeper.EmptyWatcher
 
process(WatchedEvent) - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
Method called from ZooKeeper for events and connection status.

R

readClusterIdZNode(ZKWatcher) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKClusterId
 
readZKNodes(Configuration) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKServerTool
 
reconnectAfterExpiration() - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
 
reconnectAfterExpiration() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
 
RecoverableZooKeeper - Class in org.apache.hadoop.hbase.zookeeper
A zookeeper that can handle 'recoverable' errors.
RecoverableZooKeeper(String, int, Watcher, int, int, int) - Constructor for class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
 
RecoverableZooKeeper(String, int, Watcher, int, int, int, String) - Constructor for class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
 
RegionNormalizerTracker - Class in org.apache.hadoop.hbase.zookeeper
Tracks region normalizer state up in ZK
RegionNormalizerTracker(ZKWatcher, Abortable) - Constructor for class org.apache.hadoop.hbase.zookeeper.RegionNormalizerTracker
 
registerListener(ZKListener) - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
Register the specified listener to receive ZooKeeper events.
registerListenerFirst(ZKListener) - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
Register the specified listener to receive ZooKeeper events and add it as the first in the list of current listeners.
run(String[]) - Method in class org.apache.hadoop.hbase.zookeeper.ZKAclReset
 

S

setAcl(String, List<ACL>, int) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
setAcl is an idempotent operation.
setBalancerOn(boolean) - Method in class org.apache.hadoop.hbase.zookeeper.LoadBalancerTracker
Set the balancer on/off.
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
 
setData(String, byte[], int) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.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.
setNormalizerOn(boolean) - Method in class org.apache.hadoop.hbase.zookeeper.RegionNormalizerTracker
Set region normalizer on/off
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.MetaTableLocator
Stop working.
stop() - Method in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
 
sync(String, AsyncCallback.VoidCallback, Object) - Method in class org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper
 
sync(String) - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
Forces a synchronization of this ZooKeeper client connection.

T

toString() - Method in class org.apache.hadoop.hbase.zookeeper.ZKNodeTracker
 
toString() - Method in class org.apache.hadoop.hbase.zookeeper.ZKUtil.NodeAndData
Deprecated.
 
toString() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
 

U

unregisterAllListeners() - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
Clean all existing listeners
unregisterListener(ZKListener) - Method in class org.apache.hadoop.hbase.zookeeper.ZKWatcher
 
updateExistingNodeData(ZKWatcher, String, byte[], int) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Deprecated.
Unused

V

verifyMetaRegionLocation(ClusterConnection, ZKWatcher, long) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Verify hbase:meta is deployed and accessible.
verifyMetaRegionLocation(ClusterConnection, ZKWatcher, long, int) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Verify hbase:meta is deployed and accessible.

W

waitForBaseZNode(Configuration) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Waits for HBase installation's base (parent) znode to become available.
waitMetaRegionLocation(ZKWatcher, long) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Gets the meta region location, if available, and waits for up to the specified timeout if not immediately available.
waitMetaRegionLocation(ZKWatcher, int, long) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Gets the meta region location, if available, and waits for up to the specified timeout if not immediately available.
waitMetaRegionLocation(ZKWatcher) - Method in class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Waits indefinitely for availability of hbase:meta.
waitToBecomeLeader() - Method in class org.apache.hadoop.hbase.zookeeper.ZKLeaderManager
Deprecated.
Blocks until this instance has claimed the leader ZNode in ZooKeeper
watchAndCheckExists(ZKWatcher, String) - Static method in class org.apache.hadoop.hbase.zookeeper.ZKUtil
Watch the specified znode for delete/create/change events.
watcher - Variable in class org.apache.hadoop.hbase.zookeeper.ZKListener
 

Z

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
 
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
 
ZKLeaderManager - Class in org.apache.hadoop.hbase.zookeeper
Deprecated.
Not used
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
Common methods and attributes used by SplitLogManager and SplitLogWorker running distributed splitting of WAL logs.
ZKUtil - Class in org.apache.hadoop.hbase.zookeeper
Internal HBase utility class for ZooKeeper.
ZKUtil.NodeAndData - Class in org.apache.hadoop.hbase.zookeeper
Deprecated.
Unused
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.
A B C D E G H I K L M N O P R S T U V W Z 
Skip navigation links

Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.