| Package | Description | 
|---|---|
| org.apache.hadoop.hbase | |
| org.apache.hadoop.hbase.master | |
| org.apache.hadoop.hbase.zookeeper | 
| Modifier and Type | Method and Description | 
|---|---|
Set<RegionState> | 
ClusterStatus.getRegionsInTransition()  | 
| Constructor and Description | 
|---|
ClusterStatus(String hbaseVersion,
             String clusterid,
             Map<ServerName,ServerLoad> servers,
             Collection<ServerName> deadServers,
             ServerName master,
             Collection<ServerName> backupMasters,
             Map<String,RegionState> rit,
             String[] masterCoprocessors,
             Boolean balancerOn)
Deprecated.  
 | 
ClusterStatus(String hbaseVersion,
             String clusterid,
             Map<ServerName,ServerLoad> servers,
             Collection<ServerName> deadServers,
             ServerName master,
             Collection<ServerName> backupMasters,
             Set<RegionState> rit,
             String[] masterCoprocessors,
             Boolean balancerOn)  | 
| Modifier and Type | Method and Description | 
|---|---|
static RegionState | 
RegionState.convert(org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState proto)
Convert a protobuf HBaseProtos.RegionState to a RegionState 
 | 
RegionState | 
RegionStates.createRegionState(HRegionInfo hri)
Add a region to RegionStates. 
 | 
RegionState | 
RegionStates.createRegionState(HRegionInfo hri,
                 RegionState.State newState,
                 ServerName serverName,
                 ServerName lastHost)
Add a region to RegionStates with the specified state. 
 | 
protected RegionState | 
RegionStates.getRegionState(HRegionInfo hri)  | 
protected RegionState | 
RegionStates.getRegionState(String encodedName)  | 
RegionState | 
RegionStates.getRegionTransitionState(HRegionInfo hri)
Get region transition state 
 | 
RegionState | 
RegionStates.getRegionTransitionState(String encodedName)
Get region transition state 
 | 
RegionState | 
RegionStates.setRegionStateTOCLOSED(byte[] regionName,
                      ServerName serverName)
Set the region state to CLOSED 
 | 
RegionState | 
RegionStates.setRegionStateTOCLOSED(HRegionInfo regionInfo,
                      ServerName serverName)
Set the region state to CLOSED 
 | 
RegionState | 
RegionStates.transitionOpenFromPendingOpenOrOpeningOnServer(RegionTransition transition,
                                              RegionState fromState,
                                              ServerName sn)
Transition a region state to OPEN from OPENING/PENDING_OPEN 
 | 
RegionState | 
RegionStates.updateRegionState(HRegionInfo hri,
                 RegionState.State state)
Update a region state. 
 | 
RegionState | 
RegionStates.updateRegionState(HRegionInfo hri,
                 RegionState.State state,
                 ServerName serverName)
Update a region state. 
 | 
RegionState | 
RegionStates.updateRegionState(RegionTransition transition,
                 RegionState.State state)
Update a region state. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Set<RegionState> | 
RegionStates.getRegionsInTransition()
Get regions in transition and their states 
 | 
SortedSet<RegionState> | 
RegionStates.getRegionsInTransitionOrderedByTimestamp()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AssignmentManager.assign(RegionState state,
      boolean setOfflineInZK,
      boolean forceNewPlan)
Caller must hold lock on the passed  
state object. | 
RegionState | 
RegionStates.transitionOpenFromPendingOpenOrOpeningOnServer(RegionTransition transition,
                                              RegionState fromState,
                                              ServerName sn)
Transition a region state to OPEN from OPENING/PENDING_OPEN 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static RegionState | 
MetaTableLocator.getMetaRegionState(ZooKeeperWatcher zkw)
Load the meta region state from the meta server ZNode. 
 | 
static RegionState | 
MetaTableLocator.getMetaRegionState(ZooKeeperWatcher zkw,
                  int replicaId)
Load the meta region state from the meta server ZNode. 
 | 
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.