ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-8669. UI: Support Hive Metastore HA. Additional (alexantonenko)
Date Fri, 12 Dec 2014 12:47:51 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 01d898529 -> 42f8d67dd


AMBARI-8669. UI: Support Hive Metastore HA. Additional (alexantonenko)


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

Branch: refs/heads/trunk
Commit: 42f8d67dd4ff09b8773140b8ff8a6cca014505c3
Parents: 01d8985
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Fri Dec 12 14:32:54 2014 +0200
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Fri Dec 12 14:32:54 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/controllers/main/host/details.js | 2 +-
 ambari-web/app/models/service_config.js         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/42f8d67d/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 4a49cfe..5b3aa5e 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({
     var hiveMSHosts = this.getHiveHosts();
 
     for (var i = 0; i < hiveMSHosts.length; i++) {
-      hiveMSHosts[i] = hiveMSHosts[i] + ":9083";
+      hiveMSHosts[i] = "thrift://" + hiveMSHosts[i] + ":9083";
     }
     data.items[0].properties['hive.metastore.uris'] = hiveMSHosts.join(',');
     App.ajax.send({

http://git-wip-us.apache.org/repos/asf/ambari/blob/42f8d67d/ambari-web/app/models/service_config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/service_config.js b/ambari-web/app/models/service_config.js
index cfd01d1..6a75eaf 100644
--- a/ambari-web/app/models/service_config.js
+++ b/ambari-web/app/models/service_config.js
@@ -487,7 +487,7 @@ App.ServiceConfigProperty = Ember.Object.extend({
         if (!portValue) return;
         if (portValue[1]) {
           for (var i = 0; i < hiveMSHosts.length; i++) {
-            hiveMSHostPort[i] = hiveMSHosts[i] + ":" + portValue[1];
+            hiveMSHostPort[i] = "thrift://" + hiveMSHosts[i] + ":" + portValue[1];
           }
         }
         this.setDefaultValue("(.*)", hiveMSHostPort);


Mime
View raw message