org.apache.hadoop.hbase.zookeeper
Class MetaNodeTracker
java.lang.Object
org.apache.hadoop.hbase.zookeeper.ZooKeeperListener
org.apache.hadoop.hbase.zookeeper.ZooKeeperNodeTracker
org.apache.hadoop.hbase.zookeeper.MetaNodeTracker
@InterfaceAudience.Private
public class MetaNodeTracker
- extends ZooKeeperNodeTracker
Tracks the unassigned zookeeper node used by the META table.
If META is already assigned when instantiating this class, you will not
receive any notification for that assignment. You will receive a
notification after META has been successfully assigned to a new location.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaNodeTracker
public MetaNodeTracker(ZooKeeperWatcher watcher,
Abortable abortable)
- Creates a meta node tracker.
- Parameters:
watcher
- abortable
-
nodeDeleted
public void nodeDeleted(String path)
- Description copied from class:
ZooKeeperListener
- Called when a node has been deleted
- Overrides:
nodeDeleted
in class ZooKeeperNodeTracker
- Parameters:
path
- full path of the deleted node
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.