Uses of Enum Class
org.apache.hadoop.hbase.master.RegionState.State
Package
Description
Provides HBase Client
Multi Cluster Replication
-
Uses of org.apache.hadoop.hbase.master.RegionState.State in org.apache.hadoop.hbase
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.client.Put
MetaTableAccessor.addRegionStateToPut
(org.apache.hadoop.hbase.client.Put put, int replicaId, org.apache.hadoop.hbase.master.RegionState.State state) Set the column value corresponding to thisreplicaId
'sRegionState
to the providedstate
.static void
MetaTableAccessor.updateRegionState
(org.apache.hadoop.hbase.client.Connection connection, org.apache.hadoop.hbase.client.RegionInfo ri, org.apache.hadoop.hbase.master.RegionState.State state) Update state column in hbase:meta. -
Uses of org.apache.hadoop.hbase.master.RegionState.State in org.apache.hadoop.hbase.client
Modifier and TypeMethodDescriptionHBaseHbck.setRegionStateInMeta
(Map<String, org.apache.hadoop.hbase.master.RegionState.State> nameOrEncodedName2State) Hbck.setRegionStateInMeta
(Map<String, org.apache.hadoop.hbase.master.RegionState.State> nameOrEncodedName2State) Update region state in Meta only. -
Uses of org.apache.hadoop.hbase.master.RegionState.State in org.apache.hadoop.hbase.master
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.master.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.Stateorg.apache.hadoop.hbase.master.RegionState.State
RegionState.getState()
static org.apache.hadoop.hbase.master.RegionState.State
RegionState.State.valueOf
(String name) static org.apache.hadoop.hbase.master.RegionState.State[]
RegionState.State.values()
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.master.RegionState
RegionState.createForTesting
(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.master.RegionState.State state) static boolean
RegionState.isUnassignable
(org.apache.hadoop.hbase.master.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
(org.apache.hadoop.hbase.master.RegionState.State... expected) ModifierConstructorDescriptionRegionState
(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.master.RegionState.State state, long stamp, org.apache.hadoop.hbase.ServerName serverName) RegionState
(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.master.RegionState.State state, long stamp, org.apache.hadoop.hbase.ServerName serverName, long ritDuration) RegionState
(org.apache.hadoop.hbase.client.RegionInfo region, org.apache.hadoop.hbase.master.RegionState.State state, org.apache.hadoop.hbase.ServerName serverName) -
Uses of org.apache.hadoop.hbase.master.RegionState.State in org.apache.hadoop.hbase.replication
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.master.RegionState.State
ReplicationBarrierFamilyFormat.ReplicationBarrierResult.getState()
-
Uses of org.apache.hadoop.hbase.master.RegionState.State in org.apache.hadoop.hbase.shaded.protobuf
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetRegionStateInMetaRequest
RequestConverter.buildSetRegionStateInMetaRequest
(Map<String, org.apache.hadoop.hbase.master.RegionState.State> nameOrEncodedName2State) Creates a protocol buffer SetRegionStateInMetaRequest -
Uses of org.apache.hadoop.hbase.master.RegionState.State in org.apache.hadoop.hbase.zookeeper
Modifier and TypeMethodDescriptionstatic void
MetaTableLocator.setMetaLocation
(org.apache.hadoop.hbase.zookeeper.ZKWatcher zookeeper, org.apache.hadoop.hbase.ServerName serverName, int replicaId, org.apache.hadoop.hbase.master.RegionState.State state) Sets the location ofhbase:meta
in ZooKeeper to the specified server address.static void
MetaTableLocator.setMetaLocation
(org.apache.hadoop.hbase.zookeeper.ZKWatcher zookeeper, org.apache.hadoop.hbase.ServerName serverName, org.apache.hadoop.hbase.master.RegionState.State state) Sets the location ofhbase:meta
in ZooKeeper to the specified server address.