| 程序包 | 说明 |
|---|---|
| org.apache.hadoop.hbase.zookeeper |
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
ZooKeeperWatcher.getRecoverableZooKeeper()
Get the connection to ZooKeeper.
|
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.