Package | Description |
---|---|
org.apache.hadoop.hbase.master.assignment |
Modifier and Type | Field and Description |
---|---|
private TransitRegionStateProcedure |
RegionStateNode.procedure |
Modifier and Type | Method and Description |
---|---|
static TransitRegionStateProcedure |
TransitRegionStateProcedure.assign(MasterProcedureEnv env,
RegionInfo region,
boolean forceNewPlan,
ServerName targetServer) |
static TransitRegionStateProcedure |
TransitRegionStateProcedure.assign(MasterProcedureEnv env,
RegionInfo region,
ServerName targetServer) |
private TransitRegionStateProcedure |
AssignmentManager.createAssignProcedure(RegionStateNode regionNode,
ServerName targetServer,
boolean override) |
TransitRegionStateProcedure[] |
AssignmentManager.createAssignProcedures(List<RegionInfo> hris)
Create an array of TransitRegionStateProcedure w/o specifying a target server.
|
private TransitRegionStateProcedure[] |
AssignmentManager.createAssignProcedures(Map<ServerName,List<RegionInfo>> assignments) |
private TransitRegionStateProcedure[] |
SplitTableRegionProcedure.createAssignProcedures(MasterProcedureEnv env) |
private TransitRegionStateProcedure[] |
MergeTableRegionsProcedure.createAssignProcedures(MasterProcedureEnv env) |
private static TransitRegionStateProcedure[] |
AssignmentManagerUtil.createAssignProcedures(MasterProcedureEnv env,
List<RegionInfo> regions,
int regionReplication,
ServerName targetServer,
boolean ignoreIfInTransition)
Create assign procedures for the give regions, according to the
regionReplication . |
(package private) static TransitRegionStateProcedure[] |
AssignmentManagerUtil.createAssignProceduresForOpeningNewRegions(MasterProcedureEnv env,
List<RegionInfo> regions,
int regionReplication,
ServerName targetServer) |
TransitRegionStateProcedure |
AssignmentManager.createMoveRegionProcedure(RegionInfo regionInfo,
ServerName targetServer) |
TransitRegionStateProcedure |
AssignmentManager.createOneAssignProcedure(RegionInfo hri,
boolean override)
Create one TransitRegionStateProcedure to assign a region w/o specifying a target server.
|
TransitRegionStateProcedure |
AssignmentManager.createOneUnassignProcedure(RegionInfo hri,
boolean override)
Create one TransitRegionStateProcedure to unassign a region.
|
TransitRegionStateProcedure[] |
AssignmentManager.createRoundRobinAssignProcedures(List<RegionInfo> hris)
Create round-robin assigns.
|
TransitRegionStateProcedure[] |
AssignmentManager.createRoundRobinAssignProcedures(List<RegionInfo> hris,
List<ServerName> serversToExclude)
Create round-robin assigns.
|
private TransitRegionStateProcedure |
AssignmentManager.createUnassignProcedure(RegionStateNode regionNode,
boolean override) |
private TransitRegionStateProcedure[] |
SplitTableRegionProcedure.createUnassignProcedures(MasterProcedureEnv env) |
private TransitRegionStateProcedure[] |
MergeTableRegionsProcedure.createUnassignProcedures(MasterProcedureEnv env) |
TransitRegionStateProcedure[] |
AssignmentManager.createUnassignProceduresForDisabling(TableName tableName)
Called by DisableTableProcedure to unassign all the regions for a table.
|
(package private) static TransitRegionStateProcedure[] |
AssignmentManagerUtil.createUnassignProceduresForSplitOrMerge(MasterProcedureEnv env,
Stream<RegionInfo> regions,
int regionReplication) |
private TransitRegionStateProcedure |
RegionRemoteProcedureBase.getParent(MasterProcedureEnv env) |
TransitRegionStateProcedure |
RegionStateNode.getProcedure() |
static TransitRegionStateProcedure |
TransitRegionStateProcedure.move(MasterProcedureEnv env,
RegionInfo region,
ServerName targetServer) |
static TransitRegionStateProcedure |
TransitRegionStateProcedure.reopen(MasterProcedureEnv env,
RegionInfo region) |
private static TransitRegionStateProcedure |
TransitRegionStateProcedure.setOwner(MasterProcedureEnv env,
TransitRegionStateProcedure proc) |
static TransitRegionStateProcedure |
TransitRegionStateProcedure.unassign(MasterProcedureEnv env,
RegionInfo region) |
Modifier and Type | Method and Description |
---|---|
(package private) static int |
AssignmentManager.compare(TransitRegionStateProcedure left,
TransitRegionStateProcedure right) |
private static TransitRegionStateProcedure |
TransitRegionStateProcedure.setOwner(MasterProcedureEnv env,
TransitRegionStateProcedure proc) |
void |
RegionStateNode.setProcedure(TransitRegionStateProcedure proc) |
void |
RegionStateNode.unsetProcedure(TransitRegionStateProcedure proc) |
Modifier and Type | Method and Description |
---|---|
void |
AssignmentManager.setupRIT(List<TransitRegionStateProcedure> procs)
Create RegionStateNode based on the TRSP list, and attach the TRSP to the RegionStateNode.
|
Constructor and Description |
---|
CloseRegionProcedure(TransitRegionStateProcedure parent,
RegionInfo region,
ServerName targetServer,
ServerName assignCandidate) |
OpenRegionProcedure(TransitRegionStateProcedure parent,
RegionInfo region,
ServerName targetServer) |
RegionRemoteProcedureBase(TransitRegionStateProcedure parent,
RegionInfo region,
ServerName targetServer) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.