Package | Description |
---|---|
org.apache.hadoop.hbase.favored | |
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.master.balancer |
Modifier and Type | Method and Description |
---|---|
static FavoredNodesPlan.Position |
FavoredNodesPlan.getFavoredServerPosition(List<ServerName> favoredNodes,
ServerName server)
Return the position of the server in the favoredNodes list.
|
static FavoredNodesPlan.Position |
FavoredNodesPlan.Position.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FavoredNodesPlan.Position[] |
FavoredNodesPlan.Position.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private Set<ServerName> |
FavoredNodeLoadBalancer.getInheritedFNForDaughter(FavoredNodeAssignmentHelper helper,
List<ServerName> parentFavoredNodes,
FavoredNodesPlan.Position primary,
FavoredNodesPlan.Position secondary) |
Modifier and Type | Method and Description |
---|---|
(package private) int |
AssignmentVerificationReport.getNumRegionsOnFavoredNodeByPosition(FavoredNodesPlan.Position position)
Return the number of regions based on the position (primary/secondary/ tertiary) assigned to
their favored nodes n * @return the number of regions
|
Modifier and Type | Method and Description |
---|---|
private Set<ServerName> |
FavoredStochasticBalancer.getInheritedFNForDaughter(FavoredNodeAssignmentHelper helper,
List<ServerName> parentFavoredNodes,
FavoredNodesPlan.Position primary,
FavoredNodesPlan.Position secondary) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.