Uses of Enum Class
org.apache.hadoop.hbase.master.RegionState.State
Packages that use RegionState.State
Package
Description
Provides HBase Client
Multi Cluster Replication
-
Uses of RegionState.State in org.apache.hadoop.hbase
Methods in org.apache.hadoop.hbase with parameters of type RegionState.StateModifier and TypeMethodDescriptionstatic PutMetaTableAccessor.addRegionStateToPut(Put put, int replicaId, RegionState.State state) static voidMetaTableAccessor.updateRegionState(Connection connection, RegionInfo ri, RegionState.State state) Update state column in hbase:meta. -
Uses of RegionState.State in org.apache.hadoop.hbase.client
Methods in org.apache.hadoop.hbase.client that return types with arguments of type RegionState.StateModifier and TypeMethodDescriptionprivate Pair<RegionState.State,ServerName> ZKConnectionRegistry.getStateAndServerName(org.apache.hadoop.hbase.shaded.protobuf.generated.ZooKeeperProtos.MetaRegionServer proto) Deprecated.HBaseHbck.setRegionStateInMeta(Map<String, RegionState.State> nameOrEncodedName2State) Hbck.setRegionStateInMeta(Map<String, RegionState.State> nameOrEncodedName2State) Update region state in Meta only.Method parameters in org.apache.hadoop.hbase.client with type arguments of type RegionState.StateModifier and TypeMethodDescriptionHBaseHbck.setRegionStateInMeta(Map<String, RegionState.State> nameOrEncodedName2State) Hbck.setRegionStateInMeta(Map<String, RegionState.State> nameOrEncodedName2State) Update region state in Meta only. -
Uses of RegionState.State in org.apache.hadoop.hbase.master
Fields in org.apache.hadoop.hbase.master declared as RegionState.StateMethods in org.apache.hadoop.hbase.master that return RegionState.StateModifier and TypeMethodDescriptionstatic RegionState.StateRegionState.State.convert(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionState.State protoState) Convert a protobuf HBaseProtos.RegionState.State to a RegionState.StateRegionState.getState()static RegionState.StateReturns the enum constant of this class with the specified name.static RegionState.State[]RegionState.State.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.hadoop.hbase.master with parameters of type RegionState.StateModifier and TypeMethodDescriptionstatic RegionStateRegionState.createForTesting(RegionInfo region, RegionState.State state) static booleanRegionState.isUnassignable(RegionState.State state) Check if a region state is one of offline states that can't transition to pending_close/closing (unassign/offline)booleanRegionState.State.matches(RegionState.State... expected) Constructors in org.apache.hadoop.hbase.master with parameters of type RegionState.StateModifierConstructorDescriptionRegionState(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) -
Uses of RegionState.State in org.apache.hadoop.hbase.master.assignment
Fields in org.apache.hadoop.hbase.master.assignment declared as RegionState.StateModifier and TypeFieldDescriptionprivate static final RegionState.State[]SplitTableRegionProcedure.EXPECTED_SPLIT_STATESprivate RegionState.StateRegionStateNode.stateA Region-in-Transition (RIT) moves through states.private static final RegionState.State[]AssignmentManager.STATES_EXPECTED_ON_ASSIGNprivate static final RegionState.State[]AssignmentManager.STATES_EXPECTED_ON_CLOSEDprivate static final RegionState.State[]AssignmentManager.STATES_EXPECTED_ON_CLOSINGprivate static final RegionState.State[]AssignmentManager.STATES_EXPECTED_ON_OPENprivate static final RegionState.State[]AssignmentManager.STATES_EXPECTED_ON_UNASSIGN_OR_MOVEMethods in org.apache.hadoop.hbase.master.assignment that return RegionState.StateModifier and TypeMethodDescriptionstatic RegionState.StateRegionStateStore.getRegionState(Result r, RegionInfo regionInfo) Pull the region state from a catalog tableResult.RegionStateNode.getState()Methods in org.apache.hadoop.hbase.master.assignment that return types with arguments of type RegionState.StateMethods in org.apache.hadoop.hbase.master.assignment with parameters of type RegionState.StateModifier and TypeMethodDescriptionbooleanRegionStateNode.isInState(RegionState.State... expected) Notice that, we will return true ifexpectedis empty.booleanRegionStates.isRegionInState(RegionInfo regionInfo, RegionState.State... state) private voidRegionStateStore.mirrorMetaLocation(RegionInfo regionInfo, ServerName serverName, RegionState.State state) private voidAssignmentManager.preTransitCheck(RegionStateNode regionNode, RegionState.State[] expectedStates) booleanRegionStateNode.setState(RegionState.State update, RegionState.State... expected) voidRegionStateNode.transitionState(RegionState.State update, RegionState.State... expected) Set newRegionState.Statebut only if currently inexpectedState (if not, throwUnexpectedStateException.private CompletableFuture<Void>AssignmentManager.transitStateAndUpdate(RegionStateNode regionNode, RegionState.State newState, RegionState.State... expectedStates) private CompletableFuture<Void>RegionStateStore.updateRegionLocation(RegionInfo regionInfo, RegionState.State state, Put put) voidRegionStates.updateRegionState(RegionInfo regionInfo, RegionState.State state) voidAssignmentManager.RegionMetaLoadingVisitor.visitRegionState(Result result, RegionInfo regionInfo, RegionState.State state, ServerName regionLocation, ServerName lastHost, long openSeqNum) voidRegionStateStore.RegionStateVisitor.visitRegionState(Result result, RegionInfo regionInfo, RegionState.State state, ServerName regionLocation, ServerName lastHost, long openSeqNum) -
Uses of RegionState.State in org.apache.hadoop.hbase.master.http
Fields in org.apache.hadoop.hbase.master.http declared as RegionState.StateModifier and TypeFieldDescriptionprivate final RegionState.StateRegionReplicaInfo.regionStateprivate final RegionState.StateMetaBrowser.scanRegionStateMethods in org.apache.hadoop.hbase.master.http that return RegionState.StateModifier and TypeMethodDescriptionRegionReplicaInfo.getRegionState()MetaBrowser.getScanRegionState()private RegionState.StateMetaBrowser.resolveScanRegionState(javax.servlet.http.HttpServletRequest request) Methods in org.apache.hadoop.hbase.master.http with parameters of type RegionState.StateModifier and TypeMethodDescriptionprivate static FilterMetaBrowser.buildScanRegionStateFilter(RegionState.State state) -
Uses of RegionState.State in org.apache.hadoop.hbase.replication
Fields in org.apache.hadoop.hbase.replication declared as RegionState.StateModifier and TypeFieldDescriptionprivate final RegionState.StateReplicationBarrierFamilyFormat.ReplicationBarrierResult.stateMethods in org.apache.hadoop.hbase.replication that return RegionState.StateModifier and TypeMethodDescriptionReplicationBarrierFamilyFormat.ReplicationBarrierResult.getState()Constructors in org.apache.hadoop.hbase.replication with parameters of type RegionState.StateModifierConstructorDescription(package private)ReplicationBarrierResult(long[] barriers, RegionState.State state, List<byte[]> parentRegionNames) -
Uses of RegionState.State in org.apache.hadoop.hbase.zookeeper
Methods in org.apache.hadoop.hbase.zookeeper with parameters of type RegionState.StateModifier and TypeMethodDescriptionstatic voidMetaTableLocator.setMetaLocation(ZKWatcher zookeeper, ServerName serverName, int replicaId, RegionState.State state) Sets the location ofhbase:metain ZooKeeper to the specified server address.static voidMetaTableLocator.setMetaLocation(ZKWatcher zookeeper, ServerName serverName, RegionState.State state) Sets the location ofhbase:metain ZooKeeper to the specified server address.