Browse Source

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

atkach 11 years ago
parent
commit
1672eac65c
2 changed files with 4 additions and 2 deletions
  1. 1 1
      ambari-web/app/config.js
  2. 3 1
      ambari-web/app/controllers/wizard/step8_controller.js

+ 1 - 1
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,

+ 3 - 1
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) {