ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject git commit: AMBARI-4858. Add configurations to support Hive running on Tez or Mapreduce (missed checkin) (ncole)
Date Fri, 28 Feb 2014 22:01:11 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk b79293137 -> 4e0ffac5b


AMBARI-4858. Add configurations to support Hive running on Tez or Mapreduce (missed checkin)
(ncole)


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

Branch: refs/heads/trunk
Commit: 4e0ffac5b3e89aa630897659e9df50b3f95cbe1b
Parents: b792931
Author: Nate Cole <ncole@hortonworks.com>
Authored: Fri Feb 28 16:43:29 2014 -0500
Committer: Nate Cole <ncole@hortonworks.com>
Committed: Fri Feb 28 16:43:34 2014 -0500

----------------------------------------------------------------------
 .../HDP/2.0.6/services/HIVE/package/scripts/hive.py       | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/4e0ffac5/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive.py
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive.py
index 01fd2f9..8dd2745 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive.py
@@ -53,13 +53,19 @@ def hive(name=None):
             recursive=True
   )
 
+  XmlConfig("mapred-site.xml",
+            conf_dir=hive_config_dir,
+            configurations=params.config['configurations']['mapred-site'],
+            owner=params.hive_user,
+            group=params.user_group,
+            mode=config_file_mode)
+
   XmlConfig("hive-site.xml",
             conf_dir=hive_config_dir,
             configurations=params.config['configurations']['hive-site'],
             owner=params.hive_user,
             group=params.user_group,
-            mode=config_file_mode
-  )
+            mode=config_file_mode)
 
   cmd = format("/bin/sh -c 'cd /usr/lib/ambari-agent/ && curl -kf --retry 5 "
                "{jdk_location}{check_db_connection_jar_name} -o {check_db_connection_jar_name}'")


Mime
View raw message