Package | Description |
---|---|
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.zookeeper |
Modifier and Type | Method and Description |
---|---|
static RegionState.State |
RegionState.State.convert(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)
Returns the enum constant of this type with the specified name.
|
static RegionState.State[] |
RegionState.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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)
|
Constructor and Description |
---|
RegionState(HRegionInfo region,
RegionState.State state) |
RegionState(HRegionInfo region,
RegionState.State state,
long stamp,
ServerName serverName) |
RegionState(HRegionInfo region,
RegionState.State state,
ServerName serverName) |
Modifier and Type | Method and Description |
---|---|
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 © 2015 The Apache Software Foundation. All Rights Reserved.