ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mithm...@apache.org
Subject ambari git commit: AMBARI-15771: After enabling NN HA with HAWQ installed, duplicate properties are seen on HAWQ config tab (Goutam Tadi via mithmatt)
Date Fri, 08 Apr 2016 17:52:56 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk ddc656714 -> 59791f461


AMBARI-15771: After enabling NN HA with HAWQ installed, duplicate properties are seen on HAWQ
config tab (Goutam Tadi via mithmatt)


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

Branch: refs/heads/trunk
Commit: 59791f461ea05fec1ab321bf0b8c14fcb50ae8b6
Parents: ddc6567
Author: Matt <mmathew@pivotal.io>
Authored: Fri Apr 8 10:51:22 2016 -0700
Committer: Matt <mmathew@pivotal.io>
Committed: Fri Apr 8 10:51:22 2016 -0700

----------------------------------------------------------------------
 .../nameNode/step9_controller.js                | 23 +++++++++-----------
 1 file changed, 10 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/59791f46/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step9_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step9_controller.js
b/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step9_controller.js
index d004ba1..24677e4 100644
--- a/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step9_controller.js
+++ b/ambari-web/app/controllers/main/admin/highAvailability/nameNode/step9_controller.js
@@ -118,19 +118,16 @@ App.HighAvailabilityWizardStep9Controller = App.HighAvailabilityProgressPageCont
 
   reconfigureHawq: function () {
     var data = this.get('content.serviceConfigProperties');
-    var reconfigureFiles = ['hawq-site', 'hdfs-client'];
-    reconfigureFiles.forEach(function (fileName) {
-      var configData = this.reconfigureSites([fileName], data, Em.I18n.t('admin.highAvailability.step4.save.configuration.note').format(App.format.role('NAMENODE',
false)));
-      App.ajax.send({
-        name: 'common.service.configurations',
-        sender: this,
-        data: {
-          desired_config: configData
-        },
-        success: 'saveConfigTag',
-        error: 'onTaskError'
-      });
-    }, this);
+    var configData = this.reconfigureSites(['hawq-site', 'hdfs-client'], data, Em.I18n.t('admin.highAvailability.step4.save.configuration.note').format(App.format.role('NAMENODE',
false)));
+    App.ajax.send({
+      name: 'common.service.configurations',
+      sender: this,
+      data: {
+        desired_config: configData
+      },
+      success: 'saveConfigTag',
+      error: 'onTaskError'
+    });
   },
 
   saveConfigTag: function () {


Mime
View raw message