You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2014/08/08 12:54:05 UTC
git commit: AMBARI-6788. Ambari installation webhcat
templeton.hive.properties set thrift host name to be localhost. (akovalenko)
Repository: ambari
Updated Branches:
refs/heads/trunk 1d31b9cd4 -> bc0110428
AMBARI-6788. Ambari installation webhcat templeton.hive.properties set thrift host name to be localhost. (akovalenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/bc011042
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/bc011042
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/bc011042
Branch: refs/heads/trunk
Commit: bc011042869297c53acc12b0ea036ab3cab46026
Parents: 1d31b9c
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Fri Aug 8 13:52:54 2014 +0300
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Fri Aug 8 13:52:54 2014 +0300
----------------------------------------------------------------------
ambari-web/app/models/service_config.js | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/bc011042/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 02f0ae4..7ef67f3 100644
--- a/ambari-web/app/models/service_config.js
+++ b/ambari-web/app/models/service_config.js
@@ -476,6 +476,13 @@ App.ServiceConfigProperty = Ember.Object.extend({
}
this.setDefaultValue("(.*)", zkHostPort);
break;
+ case 'templeton.hive.properties':
+ var hiveMetaStoreHost = masterComponentHostsInDB.findProperty('component', 'HIVE_METASTORE').hostName;
+ if (/\/\/localhost:/g.test(this.get('value'))) {
+ this.set('defaultValue', this.get('value') + ', hive.metastore.execute.setugi=true');
+ this.setDefaultValue("(localhost)", hiveMetaStoreHost);
+ }
+ break;
case 'dfs.name.dir':
case 'dfs.namenode.name.dir':
case 'dfs.data.dir':