Siddharth Wagle created AMBARI-1320:
---------------------------------------

             Summary: Failed to retrieve hosts due to improper host to cluster 
mapping
                 Key: AMBARI-1320
                 URL: https://issues.apache.org/jira/browse/AMBARI-1320
             Project: Ambari
          Issue Type: Bug
          Components: controller
    Affects Versions: 1.2.1
            Reporter: Siddharth Wagle
            Assignee: Siddharth Wagle
            Priority: Critical


Following API call fails to retrieve the cluster hosts
http://ec2-50-17-24-241.compute-1.amazonaws.com:8080/api/v1/clusters/c1/hosts

Cause:
The host -> cluster mapping, maps a host to a set of clusters. Currently the 
set for every host has a different ClusterImpl object for same cluster.

Workaround of implementing equals and hashcode on ClusterImpl works.
Need to find the cause

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to