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)
n * @return A
ClusterId made from the passed in cid |
static ClusterId |
ClusterId.parseFrom(byte[] bytes)
Parse the serialized representation of the
ClusterId |
Modifier and Type | Field and Description |
---|---|
private ClusterId |
MasterFileSystem.clusterId |
private ClusterId |
CachedClusterId.clusterId |
Modifier and Type | Method and Description |
---|---|
ClusterId |
MasterFileSystem.getClusterId()
Returns The unique identifier generated for this cluster
|
Modifier and Type | Method and Description |
---|---|
private void |
CachedClusterId.setClusterId(ClusterId id)
Succeeds only once, when setting to a non-null value.
|
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)
nn
|
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.