----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50753/ -----------------------------------------------------------
(Updated Aug. 8, 2016, 11:31 a.m.) Review request for Ambari, Jonathan Hurley, Robert Nettleton, Sandor Magyari, and Sebastian Toader. Changes ------- Fixed NPE prone code Bugs: AMBARI-18005 https://issues.apache.org/jira/browse/AMBARI-18005 Repository: ambari Description ------- When a host is removed from the cluster and later from ambari there's a chance the agent registers back to the ambari server before the agent is stopped. Stopping the machine running the agent without the host being deleted again leads to an inconsistent state in the ambari-server due to cached state. Resolution: The cached resources get cleared on host delete event. Diffs (updated) ----- ambari-server/src/main/java/org/apache/ambari/server/topology/TopologyManager.java 9a6ee94 Diff: https://reviews.apache.org/r/50753/diff/ Testing ------- Suceesfully tested. (Manually) Unit tests OK Thanks, Laszlo Puskas