ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject git commit: AMBARI-5270. Initialize shared edits fails while enabling NameNode HA. (jaimin)
Date Sat, 29 Mar 2014 21:38:11 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 34b8056fd -> aaa5d2c32


AMBARI-5270. Initialize shared edits fails while enabling NameNode HA. (jaimin)


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

Branch: refs/heads/trunk
Commit: aaa5d2c32d7bf7799aeaf8c2312fecd7ad160f04
Parents: 34b8056
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Sat Mar 29 14:35:27 2014 -0700
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Sat Mar 29 14:37:34 2014 -0700

----------------------------------------------------------------------
 .../controllers/main/admin/highAvailability/step5_controller.js    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/aaa5d2c3/ambari-web/app/controllers/main/admin/highAvailability/step5_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/highAvailability/step5_controller.js b/ambari-web/app/controllers/main/admin/highAvailability/step5_controller.js
index b47dc38..8bd240c 100644
--- a/ambari-web/app/controllers/main/admin/highAvailability/step5_controller.js
+++ b/ambari-web/app/controllers/main/admin/highAvailability/step5_controller.js
@@ -106,7 +106,7 @@ App.HighAvailabilityWizardStep5Controller = App.HighAvailabilityProgressPageCont
   installHDFSClients: function () {
     var nnHostNames = this.get('content.masterComponentHosts').filterProperty('component',
'NAMENODE').mapProperty('hostName');
     var jnHostNames = this.get('content.masterComponentHosts').filterProperty('component',
'JOURNALNODE').mapProperty('hostName');
-    var hostNames = $.extend([], nnHostNames, jnHostNames);
+    var hostNames = nnHostNames.concat(jnHostNames).uniq();
     this.createComponent('HDFS_CLIENT', hostNames);
     App.router.get(this.get('content.controllerName')).saveHdfsClientHosts(hostNames);
     App.clusterStatus.setClusterStatus({


Mime
View raw message