Package | Description |
---|---|
org.apache.hadoop.hbase.zookeeper |
Modifier and Type | Method and Description |
---|---|
static RecoverableZooKeeper |
ZKUtil.connect(org.apache.hadoop.conf.Configuration conf,
String ensemble,
org.apache.zookeeper.Watcher watcher) |
static RecoverableZooKeeper |
ZKUtil.connect(org.apache.hadoop.conf.Configuration conf,
String ensemble,
org.apache.zookeeper.Watcher watcher,
String identifier) |
static RecoverableZooKeeper |
ZKUtil.connect(org.apache.hadoop.conf.Configuration conf,
org.apache.zookeeper.Watcher watcher)
Creates a new connection to ZooKeeper, pulling settings and ensemble config
from the specified configuration object using methods from
ZKConfig . |
RecoverableZooKeeper |
ZKWatcher.getRecoverableZooKeeper()
Get the connection to ZooKeeper.
|
Copyright © 2007–2019 Cloudera. All rights reserved.