Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.util | |
org.apache.hadoop.hbase.zookeeper |
Modifier and Type | Method and Description |
---|---|
static ClusterId |
ClusterId.convert(ClusterIdProtos.ClusterId cid) |
static ClusterId |
ClusterId.parseFrom(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
ClusterId |
MasterFileSystem.getClusterId() |
Modifier and Type | Method and Description |
---|---|
static ClusterId |
FSUtils.getClusterId(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootdir)
Returns the value of the unique cluster ID stored for this HBase instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
FSUtils.setClusterId(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootdir,
ClusterId clusterId,
int wait)
Writes a new unique identifier for this cluster to the "hbase.id" file
in the HBase root directory
|
Modifier and Type | Method and Description |
---|---|
static void |
ZKClusterId.setClusterId(ZKWatcher watcher,
ClusterId id) |
Copyright © 2007–2019 Cloudera. All rights reserved.