Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.zookeeper |
Modifier and Type | Method and Description |
---|---|
Map<String,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) |
Modifier and Type | Method and Description |
---|---|
static RegionState |
RegionState.convert(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.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 |
---|---|
Map<String,RegionState> |
RegionStates.getRegionsInTransition()
Get regions in transition and their states
|
Modifier and Type | Method and Description |
---|---|
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-2016 The Apache Software Foundation. All Rights Reserved.