ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject git commit: AMBARI-5352. PIG_OPTS should be appended instead of being over written (aonishuk)
Date Fri, 04 Apr 2014 17:38:04 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 34476f2d4 -> 82ebd6d5a


AMBARI-5352. PIG_OPTS should be appended instead of being over written (aonishuk)


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

Branch: refs/heads/trunk
Commit: 82ebd6d5aeae82326d9c6f9ff26aa880ace8ac03
Parents: 34476f2
Author: Andrew Onischuk <aonishuk@hortonworks.com>
Authored: Fri Apr 4 10:36:52 2014 -0700
Committer: Andrew Onischuk <aonishuk@hortonworks.com>
Committed: Fri Apr 4 10:36:52 2014 -0700

----------------------------------------------------------------------
 .../stacks/HDP/2.0.6/services/PIG/package/templates/pig-env.sh.j2  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/82ebd6d5/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/PIG/package/templates/pig-env.sh.j2
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/PIG/package/templates/pig-env.sh.j2
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/PIG/package/templates/pig-env.sh.j2
index 6e82ef2..9352d31 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/PIG/package/templates/pig-env.sh.j2
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/PIG/package/templates/pig-env.sh.j2
@@ -35,5 +35,5 @@ JAVA_HOME={{java64_home}}
 HADOOP_HOME=${HADOOP_HOME:-{{hadoop_home}}}
 
 if [ -d "/usr/lib/tez" ]; then
-  PIG_OPTS="-Dmapreduce.framework.name=yarn"
+  PIG_OPTS="$PIG_OPTS -Dmapreduce.framework.name=yarn"
 fi


Mime
View raw message