-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55851/
-----------------------------------------------------------
Review request for Ambari, Myroslav Papirkovskyy and Sumit Mohanty.
Bugs: AMBARI-19679
https://issues.apache.org/jira/browse/AMBARI-19679
Repository: ambari
Description
-------
_Scenario_:
ConfigGroups with host mapping to hosts that no longer exist.
This results in an NPE during lookup from the in-memory Cluster Map.
{code}
Host host = clusters.getHost(hostMappingEntity.getHostname());
{code}
This is swallowed by the Guice assisted injector leading to partial loading of
the data from DB.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/state/configgroup/ConfigGroupImpl.java
fe1f338
Diff: https://reviews.apache.org/r/55851/diff/
Testing
-------
Manually tested.
Thanks,
Sid Wagle