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

      Location location = (Location) o;

      return !(name != null ? !name.equals(location.name) : location.name != null) &&
             !(path != null ? !path.equals(location.path) : location.path != null);

    }
Get the path.

@return the path
ambari-server/src/main/java/org/apache/ambari/server/controller/ivory/Cluster.java