public String getHostMap(String hostName) {
  if (hostsMapFile == null) 
    return hostName;
  return hostsMap.getProperty(hostName, hostName);
}
Return map of the hostname if available
@param hostName hostname map
@return
ambari-server/src/main/java/org/apache/ambari/server/controller/HostsMap.java