| Package | Description |
|---|---|
| org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
| org.apache.hadoop.hbase.favored | |
| org.apache.hadoop.hbase.master | |
| org.apache.hadoop.hbase.master.assignment | |
| org.apache.hadoop.hbase.master.balancer |
| Modifier and Type | Method and Description |
|---|---|
default void |
MasterObserver.postBalance(ObserverContext<MasterCoprocessorEnvironment> ctx,
BalanceRequest request,
List<RegionPlan> plans)
Called after the balancing plan has been submitted.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<RegionPlan> |
FavoredNodeLoadBalancer.balanceTable(TableName tableName,
Map<ServerName,List<RegionInfo>> loadOfOneTable) |
| Modifier and Type | Method and Description |
|---|---|
List<RegionPlan> |
LoadBalancer.balanceCluster(Map<TableName,Map<ServerName,List<RegionInfo>>> loadOfAllTable)
Perform the major balance operation for cluster.
|
List<RegionPlan> |
HMaster.executeRegionPlansWithThrottling(List<RegionPlan> plans)
Execute region plans with throttling
|
List<RegionPlan> |
MasterServices.executeRegionPlansWithThrottling(List<RegionPlan> plans)
Execute region plans with throttling
|
| Modifier and Type | Method and Description |
|---|---|
int |
RegionPlan.RegionPlanComparator.compare(RegionPlan l,
RegionPlan r) |
int |
RegionPlan.compareTo(RegionPlan other)
Compare the region info.
|
| Modifier and Type | Method and Description |
|---|---|
List<RegionPlan> |
HMaster.executeRegionPlansWithThrottling(List<RegionPlan> plans)
Execute region plans with throttling
|
List<RegionPlan> |
MasterServices.executeRegionPlansWithThrottling(List<RegionPlan> plans)
Execute region plans with throttling
|
void |
MasterCoprocessorHost.postBalance(BalanceRequest request,
List<RegionPlan> plans) |
| Modifier and Type | Method and Description |
|---|---|
Future<byte[]> |
AssignmentManager.balance(RegionPlan regionPlan) |
Future<byte[]> |
AssignmentManager.moveAsync(RegionPlan regionPlan) |
| Modifier and Type | Method and Description |
|---|---|
List<RegionPlan> |
MaintenanceLoadBalancer.balanceCluster(Map<TableName,Map<ServerName,List<RegionInfo>>> loadOfAllTable) |
List<RegionPlan> |
BaseLoadBalancer.balanceCluster(Map<TableName,Map<ServerName,List<RegionInfo>>> loadOfAllTable)
Perform the major balance operation for cluster, will invoke
BaseLoadBalancer.balanceTable(TableName, Map) to do actual balance. |
protected List<RegionPlan> |
BaseLoadBalancer.balanceMasterRegions(Map<ServerName,List<RegionInfo>> clusterMap)
Deprecated.
since 2.4.0, will be removed in 3.0.0.
|
protected List<RegionPlan> |
FavoredStochasticBalancer.balanceTable(TableName tableName,
Map<ServerName,List<RegionInfo>> loadOfOneTable) |
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> |
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.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.