You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Oliver Szabo <os...@hortonworks.com> on 2015/11/27 16:55:10 UTC

Review Request 40775: Stack advisor: Recommendations not applied if cluster creation template not contains all of the hostgroups (blueprint provisioning)

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40775/
-----------------------------------------------------------

Review request for Ambari, Robert Levas, Robert Nettleton, and Sumit Mohanty.


Bugs: AMBARI-14104
    https://issues.apache.org/jira/browse/AMBARI-14104


Repository: ambari


Description
-------

In case of the is different number of hostgroups in the blueprint and in the cluster creation template
e.g.: 
in the blueprint: hg1,hg2,hg3,hg4
in the cluster creation template: hg1,hg2,hg3
then it cause NPE, during configuration recommendation, so the recommendations won't apply.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/StackAdvisorBlueprintProcessor.java 0325885 
  ambari-server/src/test/java/org/apache/ambari/server/api/services/stackadvisor/StackAdvisorBlueprintProcessorTest.java 2baa505 

Diff: https://reviews.apache.org/r/40775/diff/


Testing
-------

Unit testing is in progress..


Thanks,

Oliver Szabo