Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.zookeeper |
Modifier and Type | Method and Description |
---|---|
static RegionTransition |
RegionTransition.createRegionTransition(EventType type,
byte[] regionName,
ServerName sn) |
static RegionTransition |
RegionTransition.createRegionTransition(EventType type,
byte[] regionName,
ServerName sn,
byte[] payload) |
static RegionTransition |
RegionTransition.parseFrom(byte[] data) |
Modifier and Type | Method and Description |
---|---|
private void |
AssignmentManager.handleHBCK(RegionTransition rt)
Handle a ZK unassigned node transition triggered by HBCK repair tool.
|
(package private) void |
AssignmentManager.handleRegion(RegionTransition rt,
OpenRegionCoordination coordination,
OpenRegionCoordination.OpenRegionDetails ord)
Handles various states an unassigned node can be in.
|
private boolean |
AssignmentManager.handleRegionMerging(RegionTransition rt,
String encodedName,
String prettyPrintedRegionName,
ServerName sn)
A helper to handle region merging transition event.
|
private boolean |
AssignmentManager.handleRegionSplitting(RegionTransition rt,
String encodedName,
String prettyPrintedRegionName,
ServerName sn)
A helper to handle region splitting transition event.
|
(package private) boolean |
AssignmentManager.processRegionsInTransition(RegionTransition rt,
HRegionInfo regionInfo,
OpenRegionCoordination coordination,
OpenRegionCoordination.OpenRegionDetails ord)
This call is invoked only (1) master assign meta;
(2) during failover mode startup, zk assignment node processing.
|
RegionState |
RegionStates.transitionOpenFromPendingOpenOrOpeningOnServer(RegionTransition transition,
RegionState fromState,
ServerName sn)
Transition a region state to OPEN from OPENING/PENDING_OPEN
|
RegionState |
RegionStates.updateRegionState(RegionTransition transition,
RegionState.State state)
Update a region state.
|
Modifier and Type | Method and Description |
---|---|
private static RegionTransition |
ZKAssign.getRegionTransition(byte[] bytes) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.