Class BalancerClusterState.DefaultRackManager

java.lang.Object
org.apache.hadoop.hbase.master.RackManager
org.apache.hadoop.hbase.master.balancer.BalancerClusterState.DefaultRackManager
Enclosing class:
BalancerClusterState

  • Constructor Details

  • Method Details

    • getRack

      public String getRack(ServerName server)
      Description copied from class: RackManager
      Get the name of the rack containing a server, according to the DNS to switch mapping.
      Overrides:
      getRack in class RackManager
      Parameters:
      server - the server for which to get the rack name
      Returns:
      the rack name of the server