Repository: ambari Updated Branches: refs/heads/branch-2.6 7f5b7d7ce -> 416570dbd
AMBARI-22501. stack advisor error while adding Druid service (alexantonenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/416570db Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/416570db Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/416570db Branch: refs/heads/branch-2.6 Commit: 416570dbd947c5bd366abf8aebaa9b44ac9cfecf Parents: 7f5b7d7 Author: Alex Antonenko <[email protected]> Authored: Wed Nov 22 21:20:46 2017 +0300 Committer: Alex Antonenko <[email protected]> Committed: Wed Nov 22 21:20:46 2017 +0300 ---------------------------------------------------------------------- .../app/controllers/main/admin/kerberos/step4_controller.js | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/416570db/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js b/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js index f23814c..ba66d87 100644 --- a/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js +++ b/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js @@ -502,6 +502,12 @@ App.KerberosWizardStep4Controller = App.WizardStep7Controller.extend(App.AddSecu return p; }, {}); + if (this.get('isWithinAddService')) { + this.get('content.masterComponentHosts').filterProperty('isInstalled', false).forEach(function(item) { + var hostGroupName = blueprintUtils.getHostGroupByFqdn(recommendations, item.hostName); + blueprintUtils.addComponentToHostGroup(recommendations, item.component, hostGroupName); + }, this); + } return recommendations; },
