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(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterIdProtos.ClusterId cid) |
static ClusterId |
ClusterId.parseFrom(byte[] bytes) |
Modifier and Type | Field and Description |
---|---|
private ClusterId |
MasterFileSystem.clusterId |
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 |
---|---|
private static void |
FSUtils.rewriteAsPb(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootdir,
org.apache.hadoop.fs.Path p,
ClusterId cid) |
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–2020 The Apache Software Foundation. All rights reserved.