Package | Description |
---|---|
org.apache.hadoop.hbase.master |
Modifier and Type | Method and Description |
---|---|
FavoredNodesPlan |
SnapshotOfRegionAssignmentFromMeta.getExistingAssignmentPlan()
Get the favored nodes plan
|
FavoredNodesPlan |
RegionPlacementMaintainer.getNewAssignmentPlan() |
Modifier and Type | Method and Description |
---|---|
void |
RegionPlacementMaintainer.checkDifferencesWithOldPlan(Map<TableName,Integer> movesPerTable,
Map<String,Map<String,Float>> regionLocalityMap,
FavoredNodesPlan newPlan)
Compares two plans and check whether the locality dropped or increased
(prints the information as a string) also prints the baseline locality
|
void |
AssignmentVerificationReport.fillUpDispersion(TableName tableName,
SnapshotOfRegionAssignmentFromMeta snapshot,
FavoredNodesPlan newPlan)
Use this to project the dispersion scores
|
Map<TableName,Integer> |
RegionPlacementMaintainer.getRegionsMovement(FavoredNodesPlan newPlan)
Return how many regions will move per table since their primary RS will
change
|
static void |
RegionPlacementMaintainer.printAssignmentPlan(FavoredNodesPlan plan)
Print the assignment plan to the system output stream
|
void |
RegionPlacementMaintainer.printDispersionScores(TableName table,
SnapshotOfRegionAssignmentFromMeta snapshot,
int numRegions,
FavoredNodesPlan newPlan,
boolean simplePrint) |
void |
RegionPlacementMaintainer.updateAssignmentPlan(FavoredNodesPlan plan) |
void |
RegionPlacementMaintainer.updateAssignmentPlanToMeta(FavoredNodesPlan plan)
Update the assignment plan into hbase:meta
|
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.