@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    HostResponse other = (HostResponse) o;

    return Objects.equals(hostname, other.hostname);
  }
@param clusterName the name of the associated cluster
ambari-server/src/main/java/org/apache/ambari/server/controller/HostResponse.java