incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-1320) Failed to retrieve hosts due to improper host to cluster mapping
Date Thu, 31 Jan 2013 01:36:11 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Siddharth Wagle updated AMBARI-1320:
------------------------------------

    Attachment: AMBARI-1320.patch

Patch to ovrride ClusterImpl hashcode and equals methods. This gets the cluster/hosts api
working again
                
> 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
>         Attachments: AMBARI-1320.patch
>
>
> 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

Mime
View raw message