Class TestLogsCleaner.FaultyZooKeeperWatcher
java.lang.Object
org.apache.hadoop.hbase.zookeeper.ZKWatcher
org.apache.hadoop.hbase.master.cleaner.TestLogsCleaner.FaultyZooKeeperWatcher
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.hbase.Abortable,org.apache.zookeeper.Watcher
- Enclosing class:
- TestLogsCleaner
static class TestLogsCleaner.FaultyZooKeeperWatcher
extends org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.zookeeper.Watcher
org.apache.zookeeper.Watcher.Event, org.apache.zookeeper.Watcher.WatcherType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeperFields inherited from class org.apache.hadoop.hbase.zookeeper.ZKWatcher
abortable -
Constructor Summary
ConstructorsConstructorDescriptionFaultyZooKeeperWatcher(org.apache.hadoop.conf.Configuration conf, String identifier, org.apache.hadoop.hbase.Abortable abortable) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.zookeeper.RecoverableZooKeepervoidinit()Methods inherited from class org.apache.hadoop.hbase.zookeeper.ZKWatcher
abort, checkAndSetZNodeAcls, close, createACL, createACL, getConfiguration, getListeners, getMetaReplicaNodes, getMetaReplicaNodesAndWatchChildren, getNumberOfListeners, getQuorum, getZNodePaths, interruptedException, interruptedExceptionNoThrow, isAborted, isSuperUserId, keeperException, prefix, process, reconnectAfterExpiration, registerListener, registerListenerFirst, syncOrTimeout, toString, unregisterAllListeners, unregisterListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.Abortable
abort
-
Field Details
-
zk
-
-
Constructor Details
-
FaultyZooKeeperWatcher
public FaultyZooKeeperWatcher(org.apache.hadoop.conf.Configuration conf, String identifier, org.apache.hadoop.hbase.Abortable abortable) throws org.apache.hadoop.hbase.ZooKeeperConnectionException, IOException - Throws:
org.apache.hadoop.hbase.ZooKeeperConnectionExceptionIOException
-
-
Method Details
-
init
- Throws:
Exception
-
getRecoverableZooKeeper
- Overrides:
getRecoverableZooKeeperin classorg.apache.hadoop.hbase.zookeeper.ZKWatcher
-