Package | Description |
---|---|
org.apache.hadoop.hbase.coordination | |
org.apache.hadoop.hbase.master.handler | |
org.apache.hadoop.hbase.regionserver.handler |
Modifier and Type | Class and Description |
---|---|
static class |
ZkOpenRegionCoordination.ZkOpenRegionDetails
ZK-based implementation.
|
Modifier and Type | Method and Description |
---|---|
OpenRegionCoordination.OpenRegionDetails |
ZkOpenRegionCoordination.getDetailsForNonCoordinatedOpening()
No ZK tracking will be performed for that case.
|
OpenRegionCoordination.OpenRegionDetails |
OpenRegionCoordination.getDetailsForNonCoordinatedOpening()
Get details object with params for case when we're opening on
regionserver side with all "default" properties.
|
OpenRegionCoordination.OpenRegionDetails |
ZkOpenRegionCoordination.parseFromProtoRequest(AdminProtos.OpenRegionRequest.RegionOpenInfo regionOpenInfo)
Parse ZK-related fields from request.
|
OpenRegionCoordination.OpenRegionDetails |
OpenRegionCoordination.parseFromProtoRequest(AdminProtos.OpenRegionRequest.RegionOpenInfo regionOpenInfo)
Construct OpenRegionDetails instance from part of protobuf request.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ZkOpenRegionCoordination.commitOpenOnMasterSide(AssignmentManager assignmentManager,
HRegionInfo regionInfo,
OpenRegionCoordination.OpenRegionDetails ord) |
boolean |
OpenRegionCoordination.commitOpenOnMasterSide(AssignmentManager assignmentManager,
HRegionInfo regionInfo,
OpenRegionCoordination.OpenRegionDetails ord)
Commits opening operation on HM side (steps required for "commit"
are determined by coordination implementation).
|
boolean |
ZkOpenRegionCoordination.tickleOpening(OpenRegionCoordination.OpenRegionDetails ord,
HRegionInfo regionInfo,
RegionServerServices rsServices,
String context)
Update our OPENING state in zookeeper.
|
boolean |
OpenRegionCoordination.tickleOpening(OpenRegionCoordination.OpenRegionDetails ord,
HRegionInfo regionInfo,
RegionServerServices rsServices,
String context)
Heartbeats to prevent timeouts.
|
boolean |
ZkOpenRegionCoordination.transitionFromOfflineToOpening(HRegionInfo regionInfo,
OpenRegionCoordination.OpenRegionDetails ord)
Transition ZK node from OFFLINE to OPENING.
|
boolean |
OpenRegionCoordination.transitionFromOfflineToOpening(HRegionInfo regionInfo,
OpenRegionCoordination.OpenRegionDetails ord)
Transitions region from offline to opening state.
|
boolean |
ZkOpenRegionCoordination.transitionToOpened(HRegion r,
OpenRegionCoordination.OpenRegionDetails ord) |
boolean |
OpenRegionCoordination.transitionToOpened(HRegion r,
OpenRegionCoordination.OpenRegionDetails ord)
Tries to move regions to OPENED state.
|
boolean |
ZkOpenRegionCoordination.tryTransitionFromOfflineToFailedOpen(RegionServerServices rsServices,
HRegionInfo hri,
OpenRegionCoordination.OpenRegionDetails ord)
Try to transition to open.
|
boolean |
OpenRegionCoordination.tryTransitionFromOfflineToFailedOpen(RegionServerServices rsServices,
HRegionInfo hri,
OpenRegionCoordination.OpenRegionDetails ord)
Tries transition region from offline to failed open.
|
boolean |
ZkOpenRegionCoordination.tryTransitionFromOpeningToFailedOpen(HRegionInfo hri,
OpenRegionCoordination.OpenRegionDetails ord)
This is not guaranteed to succeed, we just do our best.
|
boolean |
OpenRegionCoordination.tryTransitionFromOpeningToFailedOpen(HRegionInfo hri,
OpenRegionCoordination.OpenRegionDetails ord)
Tries transition from Opening to Failed open.
|
Constructor and Description |
---|
OpenedRegionHandler(Server server,
AssignmentManager assignmentManager,
HRegionInfo regionInfo,
OpenRegionCoordination coordination,
OpenRegionCoordination.OpenRegionDetails ord) |
Constructor and Description |
---|
OpenMetaHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
long masterSystemTime,
OpenRegionCoordination coordination,
OpenRegionCoordination.OpenRegionDetails ord) |
OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
EventType eventType,
long masterSystemTime,
OpenRegionCoordination coordination,
OpenRegionCoordination.OpenRegionDetails ord) |
OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
long masterSystemTime,
OpenRegionCoordination coordination,
OpenRegionCoordination.OpenRegionDetails ord) |
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.