code: public String getRack(InetAddress endpoint)
      {
          String[] info = getEndpointInfo(endpoint);
          assert info != null : "No location defined for endpoint " + endpoint;
          return info[1];
      }
docs: Return the rack for which an endpoint resides in
  
  @param endpoint the endpoint to process
  @return string of rack