You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by GitBox <gi...@apache.org> on 2020/11/24 11:49:36 UTC

[GitHub] [ambari] aonishuk opened a new pull request #3265: AMBARI-25590. Ambari Get Hosts API returning empty json (aonishuk)

aonishuk opened a new pull request #3265:
URL: https://github.com/apache/ambari/pull/3265


   ## What changes were proposed in this pull request?
   
   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 was this patch 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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ambari] aonishuk merged pull request #3265: AMBARI-25590. Ambari Get Hosts API returning empty json

Posted by GitBox <gi...@apache.org>.
aonishuk merged pull request #3265:
URL: https://github.com/apache/ambari/pull/3265


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org