pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject svn commit: r1601039 - in /pig/branches/branch-0.13: CHANGES.txt bin/pig
Date Fri, 06 Jun 2014 23:52:36 GMT
Author: daijy
Date: Fri Jun  6 23:52:35 2014
New Revision: 1601039

URL: http://svn.apache.org/r1601039
Log:
PIG-3989: PIG_OPTS does not work with some version of HADOOP

Modified:
    pig/branches/branch-0.13/CHANGES.txt
    pig/branches/branch-0.13/bin/pig

Modified: pig/branches/branch-0.13/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.13/CHANGES.txt?rev=1601039&r1=1601038&r2=1601039&view=diff
==============================================================================
--- pig/branches/branch-0.13/CHANGES.txt (original)
+++ pig/branches/branch-0.13/CHANGES.txt Fri Jun  6 23:52:35 2014
@@ -147,6 +147,8 @@ PIG-3882: Multiquery off mode execution 
  
 BUG FIXES
 
+PIG-3989: PIG_OPTS does not work with some version of HADOOP (daijy)
+
 PIG-3739: The Warning_4 e2e test is broken in trunk (aniket486)
 
 PIG-3976: Typo correction in JobStats breaks Oozie (rohini)

Modified: pig/branches/branch-0.13/bin/pig
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.13/bin/pig?rev=1601039&r1=1601038&r2=1601039&view=diff
==============================================================================
--- pig/branches/branch-0.13/bin/pig (original)
+++ pig/branches/branch-0.13/bin/pig Fri Jun  6 23:52:35 2014
@@ -365,10 +365,12 @@ if [ -n "$HADOOP_BIN" ]; then
 
     export HADOOP_CLASSPATH=$CLASSPATH:$HADOOP_CLASSPATH
     export HADOOP_OPTS="$JAVA_HEAP_MAX $PIG_OPTS $HADOOP_OPTS"
+    export HADOOP_CLIENT_OPTS="$JAVA_HEAP_MAX $PIG_OPTS $HADOOP_CLIENT_OPTS"
     if [ "$debug" == "true" ]; then
         echo "dry run:"
         echo "HADOOP_CLASSPATH: $HADOOP_CLASSPATH"
         echo "HADOOP_OPTS: $HADOOP_OPTS"
+        echo "HADOOP_CLIENT_OPTS: $HADOOP_CLIENT_OPTS"
         echo "$HADOOP_BIN" jar "$PIG_JAR" "${remaining[@]}"
         echo
     else



Mime
View raw message