public Map<String, Map<String, String>> getEffectiveDesiredTags(
          Cluster cluster, String hostName) throws AmbariException {

    return getEffectiveDesiredTags(cluster, hostName, null);
  }
Gets the desired tags for a cluster and host

@param cluster  the cluster
@param hostName the host name
@return a map of tag type to tag names with overrides
@throws AmbariException
ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java