ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-22501. stack advisor error while adding Druid service (alexantonenko)
Date Wed, 22 Nov 2017 18:19:39 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk cadbf3542 -> f343e8c0f


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/f343e8c0
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f343e8c0
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f343e8c0

Branch: refs/heads/trunk
Commit: f343e8c0f596d9bd3610c23b387c370dbf6f6028
Parents: cadbf35
Author: Alex Antonenko <aantonenko@hortonworks.com>
Authored: Wed Nov 22 21:19:23 2017 +0300
Committer: Alex Antonenko <aantonenko@hortonworks.com>
Committed: Wed Nov 22 21:19:23 2017 +0300

----------------------------------------------------------------------
 ambari-web/app/mixins/wizard/addSecurityConfigs.js | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f343e8c0/ambari-web/app/mixins/wizard/addSecurityConfigs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/wizard/addSecurityConfigs.js b/ambari-web/app/mixins/wizard/addSecurityConfigs.js
index 89d3cf7..bd6fa89 100644
--- a/ambari-web/app/mixins/wizard/addSecurityConfigs.js
+++ b/ambari-web/app/mixins/wizard/addSecurityConfigs.js
@@ -657,6 +657,13 @@ App.AddSecurityConfigs = Em.Mixin.create({
       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;
   },
 


Mime
View raw message