pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject svn commit: r1601040 - in /pig/trunk: CHANGES.txt bin/pig
Date Fri, 06 Jun 2014 23:54:45 GMT
Author: daijy
Date: Fri Jun  6 23:54:45 2014
New Revision: 1601040

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

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/bin/pig

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1601040&r1=1601039&r2=1601040&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Fri Jun  6 23:54:45 2014
@@ -171,6 +171,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/trunk/bin/pig
URL: http://svn.apache.org/viewvc/pig/trunk/bin/pig?rev=1601040&r1=1601039&r2=1601040&view=diff
==============================================================================
--- pig/trunk/bin/pig (original)
+++ pig/trunk/bin/pig Fri Jun  6 23:54:45 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