ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject git commit: AMBARI-3894 Cannot install HDP stack without having config-groups, original patch. (atkach)
Date Wed, 27 Nov 2013 13:39:45 GMT
Updated Branches:
  refs/heads/trunk 9302ddb57 -> 1672eac65


AMBARI-3894 Cannot install HDP stack without having config-groups, original patch. (atkach)


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

Branch: refs/heads/trunk
Commit: 1672eac65c8ec6aa2cbac65b293e373cf7fecd43
Parents: 9302ddb
Author: atkach <andrey91.07@gmail.com>
Authored: Wed Nov 27 15:39:41 2013 +0200
Committer: atkach <andrey91.07@gmail.com>
Committed: Wed Nov 27 15:39:41 2013 +0200

----------------------------------------------------------------------
 ambari-web/app/config.js                              | 2 +-
 ambari-web/app/controllers/wizard/step8_controller.js | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1672eac6/ambari-web/app/config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/config.js b/ambari-web/app/config.js
index c39c58a..4635265 100644
--- a/ambari-web/app/config.js
+++ b/ambari-web/app/config.js
@@ -45,7 +45,7 @@ App.enableExperimental = false;
 App.supports = {
   addServices: false,
   hostOverrides: true,
-  hostOverridesInstaller: false,
+  hostOverridesInstaller: true,
   hostOverridesHost: true,
   mirroring: false,
   secureCluster: true,

http://git-wip-us.apache.org/repos/asf/ambari/blob/1672eac6/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 1fbdc89..f614f7f 100644
--- a/ambari-web/app/controllers/wizard/step8_controller.js
+++ b/ambari-web/app/controllers/wizard/step8_controller.js
@@ -1417,7 +1417,9 @@ App.WizardStep8Controller = Em.Controller.extend({
       groupData.desired_configs = serviceConfigController.buildGroupDesiredConfigs.call(serviceConfigController,
groupConfigs);
       sendData.push({"ConfigGroup": groupData});
     }, this);
-    this.applyConfigurationGroups(sendData);
+    if (sendData.length > 0) {
+      this.applyConfigurationGroups(sendData);
+    }
   },
 
   applyConfigurationGroups: function (sendData) {


Mime
View raw message