Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.shaded.protobuf |
Modifier and Type | Method and Description |
---|---|
RegionState.State |
MetaTableAccessor.ReplicationBarrierResult.getState() |
Modifier and Type | Method and Description |
---|---|
static void |
MetaTableAccessor.updateRegionState(Connection connection,
RegionInfo ri,
RegionState.State state)
Update state column in hbase:meta.
|
Modifier and Type | Method and Description |
---|---|
Map<String,RegionState.State> |
Hbck.setRegionStateInMeta(Map<String,RegionState.State> nameOrEncodedName2State)
Update region state in Meta only.
|
Map<String,RegionState.State> |
HBaseHbck.setRegionStateInMeta(Map<String,RegionState.State> nameOrEncodedName2State) |
Modifier and Type | Method and Description |
---|---|
Map<String,RegionState.State> |
Hbck.setRegionStateInMeta(Map<String,RegionState.State> nameOrEncodedName2State)
Update region state in Meta only.
|
Map<String,RegionState.State> |
HBaseHbck.setRegionStateInMeta(Map<String,RegionState.State> nameOrEncodedName2State) |
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)
|
boolean |
RegionState.State.matches(RegionState.State... expected) |
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 | Method and Description |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetRegionStateInMetaRequest |
RequestConverter.buildSetRegionStateInMetaRequest(Map<String,RegionState.State> nameOrEncodedName2State)
Creates a protocol buffer SetRegionStateInMetaRequest
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.