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: [email protected]
