public static String getClusterHostInfoKey(String componentName){
    if (componentName == null){
      throw new IllegalArgumentException("Component name cannot be null");
    }
    return componentName.toLowerCase()+"_hosts";
  }
A helper method for generating keys for the clusterHostInfo section.
ambari-server/src/main/java/org/apache/ambari/server/utils/StageUtils.java