You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2015/01/20 23:16:36 UTC

[3/3] ambari git commit: AMBARI-9219. HDFS should not need restart after adding second Hive component (alexantonenko)

AMBARI-9219. HDFS should not need restart after adding second Hive component (alexantonenko)


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

Branch: refs/heads/trunk
Commit: c9619f1a9aeee260a5a6e0de059cecd449437ba0
Parents: 10b76dc
Author: Alex Antonenko <hi...@gmail.com>
Authored: Tue Jan 20 20:39:37 2015 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Wed Jan 21 00:15:49 2015 +0200

----------------------------------------------------------------------
 ambari-web/app/controllers/main/host/details.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c9619f1a/ambari-web/app/controllers/main/host/details.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/host/details.js b/ambari-web/app/controllers/main/host/details.js
index 901b8b8..0a3857f 100644
--- a/ambari-web/app/controllers/main/host/details.js
+++ b/ambari-web/app/controllers/main/host/details.js
@@ -591,7 +591,7 @@ App.MainHostDetailsController = Em.Controller.extend({
    */
   onLoadHiveConfigs: function (data) {
     var hiveMSHosts = this.getHiveHosts();
-    var hiveMasterHosts = hiveMSHosts.concat([App.HostComponent.find().findProperty('componentName', 'HIVE_SERVER').get('hostName')]).uniq().join(',');
+    var hiveMasterHosts = hiveMSHosts.concat([App.HostComponent.find().findProperty('componentName', 'HIVE_SERVER').get('hostName')]).uniq().sort().join(',');
     var configs = {};
     var port = "";
     var hiveUser = "";