Uses of Class
org.apache.hadoop.hbase.master.RegionPlan
Packages that use RegionPlan
Package
Description
Table of Contents
- 
Uses of RegionPlan in org.apache.hadoop.hbase.coprocessor
Method parameters in org.apache.hadoop.hbase.coprocessor with type arguments of type RegionPlanModifier and TypeMethodDescriptiondefault voidMasterObserver.postBalance(ObserverContext<MasterCoprocessorEnvironment> ctx, BalanceRequest request, List<RegionPlan> plans) Called after the balancing plan has been submitted. - 
Uses of RegionPlan in org.apache.hadoop.hbase.favored
Methods in org.apache.hadoop.hbase.favored that return types with arguments of type RegionPlanModifier and TypeMethodDescriptionprotected List<RegionPlan>FavoredNodeLoadBalancer.balanceTable(TableName tableName, Map<ServerName, List<RegionInfo>> loadOfOneTable)  - 
Uses of RegionPlan in org.apache.hadoop.hbase.master
Methods in org.apache.hadoop.hbase.master that return types with arguments of type RegionPlanModifier and TypeMethodDescriptionLoadBalancer.balanceCluster(Map<TableName, Map<ServerName, List<RegionInfo>>> loadOfAllTable) Perform the major balance operation for cluster.HMaster.executeRegionPlansWithThrottling(List<RegionPlan> plans) Execute region plans with throttlingMasterServices.executeRegionPlansWithThrottling(List<RegionPlan> plans) Execute region plans with throttlingMethods in org.apache.hadoop.hbase.master with parameters of type RegionPlanModifier and TypeMethodDescriptionintRegionPlan.RegionPlanComparator.compare(RegionPlan l, RegionPlan r) intRegionPlan.compareTo(RegionPlan other) Compare the region info.private static intRegionPlan.compareTo(RegionPlan left, RegionPlan right) default voidLoadBalancer.throttle(RegionPlan plan) Method parameters in org.apache.hadoop.hbase.master with type arguments of type RegionPlanModifier and TypeMethodDescriptionHMaster.executeRegionPlansWithThrottling(List<RegionPlan> plans) Execute region plans with throttlingMasterServices.executeRegionPlansWithThrottling(List<RegionPlan> plans) Execute region plans with throttlingvoidMasterCoprocessorHost.postBalance(BalanceRequest request, List<RegionPlan> plans)  - 
Uses of RegionPlan in org.apache.hadoop.hbase.master.assignment
Fields in org.apache.hadoop.hbase.master.assignment declared as RegionPlanMethods in org.apache.hadoop.hbase.master.assignment with parameters of type RegionPlanModifier and TypeMethodDescriptionFuture<byte[]>AssignmentManager.balance(RegionPlan regionPlan) Future<byte[]>AssignmentManager.moveAsync(RegionPlan regionPlan)  - 
Uses of RegionPlan in org.apache.hadoop.hbase.master.balancer
Methods in org.apache.hadoop.hbase.master.balancer that return types with arguments of type RegionPlanModifier and TypeMethodDescriptionfinal List<RegionPlan>BaseLoadBalancer.balanceCluster(Map<TableName, Map<ServerName, List<RegionInfo>>> loadOfAllTable) Perform the major balance operation for cluster, will invokeBaseLoadBalancer.balanceTable(TableName, Map)to do actual balance.MaintenanceLoadBalancer.balanceCluster(Map<TableName, Map<ServerName, List<RegionInfo>>> loadOfAllTable) protected abstract List<RegionPlan>BaseLoadBalancer.balanceTable(TableName tableName, Map<ServerName, List<RegionInfo>> loadOfOneTable) Perform the major balance operation for table, all sub classes should override this method.protected List<RegionPlan>CacheAwareLoadBalancer.balanceTable(TableName tableName, Map<ServerName, List<RegionInfo>> loadOfOneTable) protected List<RegionPlan>FavoredStochasticBalancer.balanceTable(TableName tableName, Map<ServerName, List<RegionInfo>> loadOfOneTable) For all regions correctly assigned to favored nodes, we just use the stochastic balancer implementation.protected List<RegionPlan>SimpleLoadBalancer.balanceTable(TableName tableName, Map<ServerName, List<RegionInfo>> loadOfOneTable) Generate a global load balancing plan according to the specified map of server information to the most loaded regions of each server.protected List<RegionPlan>StochasticLoadBalancer.balanceTable(TableName tableName, Map<ServerName, List<RegionInfo>> loadOfOneTable) Given the cluster state this will try and approach an optimal balance.private List<RegionPlan>StochasticLoadBalancer.createRegionPlans(BalancerClusterState cluster) Create all of the RegionPlan's needed to move from the initial cluster state to the desired state.(package private) List<RegionPlan>AssignRegionAction.toRegionPlans(BalancerClusterState cluster) (package private) List<RegionPlan>BalanceAction.NullBalanceAction.toRegionPlans(BalancerClusterState cluster) (package private) abstract List<RegionPlan>BalanceAction.toRegionPlans(BalancerClusterState cluster) Returns the Action represented as RegionPlans(package private) List<RegionPlan>MoveBatchAction.toRegionPlans(BalancerClusterState cluster) (package private) List<RegionPlan>MoveRegionAction.toRegionPlans(BalancerClusterState cluster) (package private) List<RegionPlan>SwapRegionsAction.toRegionPlans(BalancerClusterState cluster) Methods in org.apache.hadoop.hbase.master.balancer with parameters of type RegionPlanModifier and TypeMethodDescriptionprivate booleanBalancerConditionals.isViolating(RegionPlan regionPlan) (package private) booleanRegionPlanConditional.isViolating(RegionPlan regionPlan) Check if the conditional is violated by the given region plan.(package private) booleanDistributeReplicasConditional.isViolatingHost(RegionPlan regionPlan, Set<RegionInfo> hostRegions) (package private) booleanRegionPlanConditional.isViolatingHost(RegionPlan regionPlan, Set<RegionInfo> destinationRegions) (package private) booleanDistributeReplicasConditional.isViolatingRack(RegionPlan regionPlan, Set<RegionInfo> rackRegions) (package private) booleanRegionPlanConditional.isViolatingRack(RegionPlan regionPlan, Set<RegionInfo> destinationRegions) (package private) booleanDistributeReplicasConditional.isViolatingServer(RegionPlan regionPlan, Set<RegionInfo> serverRegions) (package private) abstract booleanRegionPlanConditional.isViolatingServer(RegionPlan regionPlan, Set<RegionInfo> destinationRegions) booleanTableIsolationConditional.isViolatingServer(RegionPlan regionPlan, Set<RegionInfo> serverRegions) voidCacheAwareLoadBalancer.throttle(RegionPlan plan) Method parameters in org.apache.hadoop.hbase.master.balancer with type arguments of type RegionPlanModifier and TypeMethodDescriptionprivate voidSimpleLoadBalancer.addRegionPlan(org.apache.hbase.thirdparty.com.google.common.collect.MinMaxPriorityQueue<RegionPlan> regionsToMove, boolean fetchFromTail, ServerName sn, List<RegionPlan> regionsToReturn) Add a region from the head or tail to the List of regions to return.private voidSimpleLoadBalancer.addRegionPlan(org.apache.hbase.thirdparty.com.google.common.collect.MinMaxPriorityQueue<RegionPlan> regionsToMove, boolean fetchFromTail, ServerName sn, List<RegionPlan> regionsToReturn) Add a region from the head or tail to the List of regions to return.private voidSimpleLoadBalancer.balanceOverall(List<RegionPlan> regionsToReturn, Map<ServerName, SimpleLoadBalancer.BalanceInfo> serverBalanceInfo, boolean fetchFromTail, org.apache.hbase.thirdparty.com.google.common.collect.MinMaxPriorityQueue<RegionPlan> regionsToMove, int max, int min) If we need to balanceoverall, we need to add one more round to peel off one region from each max.private voidSimpleLoadBalancer.balanceOverall(List<RegionPlan> regionsToReturn, Map<ServerName, SimpleLoadBalancer.BalanceInfo> serverBalanceInfo, boolean fetchFromTail, org.apache.hbase.thirdparty.com.google.common.collect.MinMaxPriorityQueue<RegionPlan> regionsToMove, int max, int min) If we need to balanceoverall, we need to add one more round to peel off one region from each max.private voidStochasticLoadBalancer.sendRegionPlansToRingBuffer(List<RegionPlan> plans, double currentCost, double initCost, String initFunctionTotalCosts, long step)  - 
Uses of RegionPlan in org.apache.hadoop.hbase.rsgroup
Methods in org.apache.hadoop.hbase.rsgroup that return types with arguments of type RegionPlanModifier and TypeMethodDescriptionRSGroupBasedLoadBalancer.balanceCluster(Map<TableName, Map<ServerName, List<RegionInfo>>> loadOfAllTable) Balance by RSGroup.private Pair<Map<TableName,Map<ServerName, List<RegionInfo>>>, List<RegionPlan>> RSGroupBasedLoadBalancer.correctAssignments(Map<TableName, Map<ServerName, List<RegionInfo>>> existingAssignments)