public Set<String> getHosts() {
    return hosts;
  }
Get the hosts for the cluster.

@return the set of hosts names
contrib/ambari-scom/ambari-scom-server/src/main/java/org/apache/ambari/msi/ClusterDefinition.java