pzampino opened a new pull request #239: KNOX-2153 - CM discovery - Monitor Cloudera Manager URL: https://github.com/apache/knox/pull/239 ## What changes were proposed in this pull request? This change adds the ability for Knox to monitor ClouderaManager-managed clusters for configuration changes, and respond by re-generating topologies based on the most recent configuration. When Knox performs service discovery against a CM-managed cluster to generate a topology, it registers that cluster data with the monitor, which will periodically check that cluster for service restart events. In CM, config changes are meaningless unless the associated service is restarted. When Knox identifies a restart event, it will query the current config for the restarted service, and compare it with its previous record from the last discovery thereof. If there are changes, it will trigger rediscovery of the affected topologies. ## How was this patch tested? So far, this has been tested manually. There will be a subsequent commit with tests added to this PR prior to merging. Given the magnitude of this change, I've created the PR without tests to facilitate early review.
---------------------------------------------------------------- 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] With regards, Apache Git Services
