Class BalancerClusterState.DefaultRackManager
java.lang.Object
org.apache.hadoop.hbase.master.RackManager
org.apache.hadoop.hbase.master.balancer.BalancerClusterState.DefaultRackManager
- Enclosing class:
- BalancerClusterState
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.master.RackManager
UNKNOWN_RACK
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRack
(ServerName server) Get the name of the rack containing a server, according to the DNS to switch mapping.Methods inherited from class org.apache.hadoop.hbase.master.RackManager
getRack
-
Constructor Details
-
DefaultRackManager
-
-
Method Details
-
getRack
Description copied from class:RackManager
Get the name of the rack containing a server, according to the DNS to switch mapping.- Overrides:
getRack
in classRackManager
- Parameters:
server
- the server for which to get the rack name- Returns:
- the rack name of the server
-