Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.master.assignment | |
org.apache.hadoop.hbase.zookeeper |
Modifier and Type | Method and Description |
---|---|
private static void |
MetaTableAccessor.addRegionStateToPut(Put put,
RegionState.State state) |
Modifier and Type | Method and Description |
---|---|
private Pair<RegionState.State,ServerName> |
ZKAsyncRegistry.getStateAndServerName(org.apache.hadoop.hbase.shaded.protobuf.generated.ZooKeeperProtos.MetaRegionServer proto) |
Modifier and Type | Field and Description |
---|---|
private RegionState.State |
RegionState.state |
Modifier and Type | Method and Description |
---|---|
static RegionState.State |
RegionState.State.convert(org.apache.hadoop.hbase.shaded.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)
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 RegionState |
RegionState.createForTesting(RegionInfo region,
RegionState.State state) |
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(RegionInfo region,
RegionState.State state,
long stamp,
ServerName serverName) |
RegionState(RegionInfo region,
RegionState.State state,
long stamp,
ServerName serverName,
long ritDuration) |
RegionState(RegionInfo region,
RegionState.State state,
ServerName serverName) |
Modifier and Type | Field and Description |
---|---|
private static RegionState.State[] |
SplitTableRegionProcedure.EXPECTED_SPLIT_STATES |
private RegionState.State |
RegionStates.RegionStateNode.state
A Region-in-Transition (RIT) moves through states.
|
protected static RegionState.State[] |
RegionStates.STATES_EXPECTED_ON_CLOSE |
protected static RegionState.State[] |
RegionStates.STATES_EXPECTED_ON_OPEN |
Modifier and Type | Method and Description |
---|---|
static RegionState.State |
RegionStateStore.getRegionState(Result r,
int replicaId)
Pull the region state from a catalog table
Result . |
RegionState.State |
RegionStates.RegionStateNode.getState() |
Modifier and Type | Method and Description |
---|---|
Map<RegionState.State,List<RegionInfo>> |
RegionStates.getRegionByStateOfTable(TableName tableName) |
Modifier and Type | Method and Description |
---|---|
boolean |
RegionStates.RegionStateNode.isInState(RegionState.State... expected) |
boolean |
RegionStates.isRegionInState(RegionInfo regionInfo,
RegionState.State... state) |
boolean |
RegionStates.RegionStateNode.setState(RegionState.State update,
RegionState.State... expected) |
boolean |
RegionStates.RegionStateNode.setState(RegionState.State update,
RegionState.State... expected) |
void |
RegionStates.RegionStateNode.transitionState(RegionState.State update,
RegionState.State... expected)
Set new
RegionState.State but only if currently in expected State
(if not, throw UnexpectedStateException . |
void |
RegionStates.RegionStateNode.transitionState(RegionState.State update,
RegionState.State... expected)
Set new
RegionState.State but only if currently in expected State
(if not, throw UnexpectedStateException . |
private void |
RegionStateStore.updateMetaLocation(RegionInfo regionInfo,
ServerName serverName,
RegionState.State state) |
private void |
RegionStateStore.updateRegionLocation(RegionInfo regionInfo,
RegionState.State state,
Put put) |
void |
RegionStates.updateRegionState(RegionInfo regionInfo,
RegionState.State state) |
private void |
RegionStateStore.updateUserRegionLocation(RegionInfo regionInfo,
RegionState.State state,
ServerName regionLocation,
long openSeqNum,
long pid) |
void |
RegionStateStore.RegionStateVisitor.visitRegionState(Result result,
RegionInfo regionInfo,
RegionState.State state,
ServerName regionLocation,
ServerName lastHost,
long openSeqNum) |
Modifier and Type | Method and Description |
---|---|
static void |
MetaTableLocator.setMetaLocation(ZKWatcher 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(ZKWatcher zookeeper,
ServerName serverName,
RegionState.State state)
Sets the location of
hbase:meta in ZooKeeper to the
specified server address. |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.