Uses of Class
org.apache.hadoop.hbase.favored.FavoredNodesPlan

Packages that use org.apache.hadoop.hbase.favored.FavoredNodesPlan
Package
Description
 
  • Uses of org.apache.hadoop.hbase.favored.FavoredNodesPlan in org.apache.hadoop.hbase.master

    Methods in org.apache.hadoop.hbase.master that return org.apache.hadoop.hbase.favored.FavoredNodesPlan in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.favored.FavoredNodesPlan
    SnapshotOfRegionAssignmentFromMeta.getExistingAssignmentPlan()
    Get the favored nodes plan
    org.apache.hadoop.hbase.favored.FavoredNodesPlan
    RegionPlacementMaintainer.getNewAssignmentPlan()
     
    Methods in org.apache.hadoop.hbase.master with parameters of type org.apache.hadoop.hbase.favored.FavoredNodesPlan in in
    Modifier and Type
    Method
    Description
    void
    RegionPlacementMaintainer.checkDifferencesWithOldPlan(Map<org.apache.hadoop.hbase.TableName,Integer> movesPerTable, Map<String,Map<String,Float>> regionLocalityMap, org.apache.hadoop.hbase.favored.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(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.master.SnapshotOfRegionAssignmentFromMeta snapshot, org.apache.hadoop.hbase.favored.FavoredNodesPlan newPlan)
    Use this to project the dispersion scores
    Map<org.apache.hadoop.hbase.TableName,Integer>
    RegionPlacementMaintainer.getRegionsMovement(org.apache.hadoop.hbase.favored.FavoredNodesPlan newPlan)
    Return how many regions will move per table since their primary RS will change
    static void
    RegionPlacementMaintainer.printAssignmentPlan(org.apache.hadoop.hbase.favored.FavoredNodesPlan plan)
    Print the assignment plan to the system output stream
    void
    RegionPlacementMaintainer.printDispersionScores(org.apache.hadoop.hbase.TableName table, org.apache.hadoop.hbase.master.SnapshotOfRegionAssignmentFromMeta snapshot, int numRegions, org.apache.hadoop.hbase.favored.FavoredNodesPlan newPlan, boolean simplePrint)
     
    void
    RegionPlacementMaintainer.updateAssignmentPlan(org.apache.hadoop.hbase.favored.FavoredNodesPlan plan)
     
    void
    RegionPlacementMaintainer.updateAssignmentPlanToMeta(org.apache.hadoop.hbase.favored.FavoredNodesPlan plan)
    Update the assignment plan into hbase:meta