You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2014/04/04 19:38:04 UTC

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

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 <ao...@hortonworks.com>
Authored: Fri Apr 4 10:36:52 2014 -0700
Committer: Andrew Onischuk <ao...@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