ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [ambari] aonishuk opened a new pull request #3265: AMBARI-25590. Ambari Get Hosts API returning empty json (aonishuk)
Date Tue, 24 Nov 2020 11:49:36 GMT

aonishuk opened a new pull request #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:

View raw message