[ https://issues.apache.org/jira/browse/AMBARI-25590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhiguo Wu updated AMBARI-25590: ------------------------------- Fix Version/s: 2.8.0 > 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.8.0, 2.7.6 > > Attachments: AMBARI-25590.patch > > Time Spent: 40m > 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.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org For additional commands, e-mail: issues-h...@ambari.apache.org