Class FavoredNodeAssignmentHelper

java.lang.Object
org.apache.hadoop.hbase.favored.FavoredNodeAssignmentHelper

@Private public class FavoredNodeAssignmentHelper extends Object
Helper class for FavoredNodeLoadBalancer that has all the intelligence for racks, meta scans, etc. Instantiated by the FavoredNodeLoadBalancer when needed (from within calls like FavoredNodeLoadBalancer#randomAssignment(RegionInfo, List). All updates to favored nodes should only be done from FavoredNodesManager and not through this helper class (except for tests).