ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject [05/16] ambari git commit: AMBARI-22501. stack advisor error while adding Druid service (alexantonenko)
Date Mon, 27 Nov 2017 13:00:00 GMT
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-feature-AMBARI-22457
Commit: 416570dbd947c5bd366abf8aebaa9b44ac9cfecf
Parents: 7f5b7d7
Author: Alex Antonenko <aantonenko@hortonworks.com>
Authored: Wed Nov 22 21:20:46 2017 +0300
Committer: Alex Antonenko <aantonenko@hortonworks.com>
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;
   },
 


Mime
View raw message