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

Andrew Onischuk updated AMBARI-25590:
-------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to branch-2.7

> Ambari Get Hosts API returning empty json
> -----------------------------------------
>
>                 Key: AMBARI-25590
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25590
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>            Priority: Major
>             Fix For: 2.7.6
>
>         Attachments: AMBARI-25590.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> *Issue description:*
> When API calls in Ambari fail due to DB exceptions. Ambari re-populates 
> caches from the DB. This causes situation that threads have different 
> instances of ClusterImpl, so we need an equals and hashCode implemented. So 
> that look-up in Sets/Maps/comparison worked.
> *How this was tested:*
> We were able to find a stable way to reproduce the issue by feeding an API 
> request that produces DB exception. Once we applied the patch this was no 
> longer reproducible.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to