You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2017/05/03 16:47:30 UTC

[47/53] [abbrv] ambari git commit: AMBARI-20889. Add Service wizard fails on step5 (akovalenko)

AMBARI-20889. Add Service wizard fails on step5 (akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ff1de980
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ff1de980
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ff1de980

Branch: refs/heads/branch-feature-AMBARI-12556
Commit: ff1de98075c9d980c8db2c50d1f27a520c944c5a
Parents: b733e70
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Fri Apr 28 15:54:44 2017 +0300
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Wed May 3 14:07:07 2017 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/main/service/add_controller.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ff1de980/ambari-web/app/controllers/main/service/add_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/add_controller.js b/ambari-web/app/controllers/main/service/add_controller.js
index ee7719c..c11bcf2 100644
--- a/ambari-web/app/controllers/main/service/add_controller.js
+++ b/ambari-web/app/controllers/main/service/add_controller.js
@@ -123,6 +123,9 @@ App.AddServiceController = App.WizardController.extend(App.AddSecurityConfigs, {
           var self = this;
           var dfd = $.Deferred();
           this.load('cluster');
+          this.set('content.additionalClients', []);
+          this.set('installClientQueueLength', 0);
+          this.set('installClietsQueue', App.ajaxQueue.create({abortOnError: false}));
           this.loadKerberosDescriptorConfigs().done(function() {
             self.loadServiceConfigGroups();
             self.loadConfigThemes().then(function() {