| Package | Description |
|---|---|
| org.apache.hadoop.hbase.master.balancer |
| Modifier and Type | Field and Description |
|---|---|
protected BaseLoadBalancer.Cluster |
StochasticLoadBalancer.CostFunction.cluster |
| Modifier and Type | Method and Description |
|---|---|
protected BaseLoadBalancer.Cluster |
BaseLoadBalancer.createCluster(List<ServerName> servers,
Collection<RegionInfo> regions) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
BaseLoadBalancer.areSomeRegionReplicasColocated(BaseLoadBalancer.Cluster c)
Subclasses should implement this to return true if the cluster has nodes that hosts multiple
replicas for the same region, or, if there are multiple racks and the same rack hosts replicas
of the same region
|
protected boolean |
StochasticLoadBalancer.areSomeRegionReplicasColocated(BaseLoadBalancer.Cluster c) |
protected boolean |
BaseLoadBalancer.idleRegionServerExist(BaseLoadBalancer.Cluster c) |
protected boolean |
BaseLoadBalancer.needsBalance(TableName tableName,
BaseLoadBalancer.Cluster c) |
protected boolean |
StochasticLoadBalancer.needsBalance(TableName tableName,
BaseLoadBalancer.Cluster cluster) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.