Uses of Class
org.apache.hadoop.hbase.favored.FavoredNodesPlan
-
Uses of FavoredNodesPlan in org.apache.hadoop.hbase.favored
Modifier and TypeFieldDescriptionprivate final FavoredNodesPlan
FavoredNodesManager.globalFavoredNodesAssignmentPlan
Modifier and TypeMethodDescription(package private) void
FavoredNodesPlan.updateFavoredNodesMap
(FavoredNodesPlan fnp) Add to existing Map of FavoredNodes. -
Uses of FavoredNodesPlan in org.apache.hadoop.hbase.master
Modifier and TypeFieldDescriptionprivate final FavoredNodesPlan
SnapshotOfRegionAssignmentFromMeta.existingAssignmentPlan
the existing assignment plan in the hbase:meta regionModifier and TypeMethodDescriptionSnapshotOfRegionAssignmentFromMeta.getExistingAssignmentPlan()
Get the favored nodes planRegionPlacementMaintainer.getNewAssignmentPlan()
Modifier and TypeMethodDescriptionvoid
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 localityvoid
AssignmentVerificationReport.fillUpDispersion
(TableName tableName, SnapshotOfRegionAssignmentFromMeta snapshot, FavoredNodesPlan newPlan) Use this to project the dispersion scoresprivate void
RegionPlacementMaintainer.genAssignmentPlan
(TableName tableName, SnapshotOfRegionAssignmentFromMeta assignmentSnapshot, Map<String, Map<String, Float>> regionLocalityMap, FavoredNodesPlan plan, boolean munkresForSecondaryAndTertiary) Generate the assignment plan for the existing tableRegionPlacementMaintainer.getRegionsMovement
(FavoredNodesPlan newPlan) Return how many regions will move per table since their primary RS will changestatic void
RegionPlacementMaintainer.printAssignmentPlan
(FavoredNodesPlan plan) Print the assignment plan to the system output streamvoid
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:metaprivate void
RegionPlacementMaintainer.updateAssignmentPlanToRegionServers
(FavoredNodesPlan plan) Update the assignment plan to all the region servers