程序包 | 说明 |
---|---|
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.zookeeper |
限定符和类型 | 方法和说明 |
---|---|
static RegionState.State |
RegionState.State.convert(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State protoState)
Convert a protobuf HBaseProtos.RegionState.State to a RegionState.State
|
RegionState.State |
RegionState.getState() |
static RegionState.State |
RegionState.State.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RegionState.State[] |
RegionState.State.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
static boolean |
RegionState.isUnassignable(RegionState.State state)
Check if a region state is one of offline states that
can't transition to pending_close/closing (unassign/offline)
|
构造器和说明 |
---|
RegionState(HRegionInfo region,
RegionState.State state) |
RegionState(HRegionInfo region,
RegionState.State state,
long stamp,
ServerName serverName) |
RegionState(HRegionInfo region,
RegionState.State state,
long stamp,
ServerName serverName,
long ritDuration) |
RegionState(HRegionInfo region,
RegionState.State state,
ServerName serverName) |
限定符和类型 | 方法和说明 |
---|---|
static void |
MetaTableLocator.setMetaLocation(ZooKeeperWatcher zookeeper,
ServerName serverName,
int replicaId,
RegionState.State state)
Sets the location of
hbase:meta in ZooKeeper to the
specified server address. |
static void |
MetaTableLocator.setMetaLocation(ZooKeeperWatcher zookeeper,
ServerName serverName,
RegionState.State state)
Sets the location of
hbase:meta in ZooKeeper to the
specified server address. |
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.