Repository: ambari Updated Branches: refs/heads/branch-2.6 4cc2ecca8 -> 0c0e53050
AMBARI-21932. Some clients are being additionally installed via Add service wizard.(jaimin) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0c0e5305 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0c0e5305 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0c0e5305 Branch: refs/heads/branch-2.6 Commit: 0c0e53050fa83427bbf27bacd2c68a9aa9d05118 Parents: 4cc2ecc Author: Jaimin Jetly <jai...@hortonworks.com> Authored: Tue Sep 12 11:00:25 2017 -0700 Committer: Jaimin Jetly <jai...@hortonworks.com> Committed: Tue Sep 12 11:00:45 2017 -0700 ---------------------------------------------------------------------- ambari-web/app/controllers/wizard/step8_controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/0c0e5305/ambari-web/app/controllers/wizard/step8_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/wizard/step8_controller.js b/ambari-web/app/controllers/wizard/step8_controller.js index e0c2f5d..4bedde0 100644 --- a/ambari-web/app/controllers/wizard/step8_controller.js +++ b/ambari-web/app/controllers/wizard/step8_controller.js @@ -1333,7 +1333,8 @@ App.WizardStep8Controller = Em.Controller.extend(App.AddSecurityConfigs, App.wiz clientsToClientMap[_clientName].forEach(function (componentName) { clientHosts.forEach(function (_clientHost) { var host = this.get('content.hosts')[_clientHost.hostName]; - if (host.isInstalled && !host.hostComponents.someProperty('HostRoles.component_name', componentName)) { + var isClientSelected = clients.someProperty('component_name', componentName); + if (host.isInstalled && isClientSelected && !host.hostComponents.someProperty('HostRoles.component_name', componentName)) { hostNames.pushObject(_clientHost.hostName); } }, this);