pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject svn commit: r1166938 - /pig/branches/branch-0.9/bin/pig
Date Thu, 08 Sep 2011 23:12:35 GMT
Author: daijy
Date: Thu Sep  8 23:12:34 2011
New Revision: 1166938

URL: http://svn.apache.org/viewvc?rev=1166938&view=rev
Log:
PIG-2239: Pig should use 'bin/hadoop jar pig-withouthadoop.jar' in bin/pig instead of forming
java command itself

Modified:
    pig/branches/branch-0.9/bin/pig

Modified: pig/branches/branch-0.9/bin/pig
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.9/bin/pig?rev=1166938&r1=1166937&r2=1166938&view=diff
==============================================================================
--- pig/branches/branch-0.9/bin/pig (original)
+++ pig/branches/branch-0.9/bin/pig Thu Sep  8 23:12:34 2011
@@ -244,14 +244,6 @@ else
         exit 1
     fi
 
-    if [ -d "$PIG_HOME/build/ivy/lib/Pig" ]; then
-        HADOOP_LIB_DIR=$PIG_HOME/build/ivy/lib/Pig
-    else
-        HADOOP_LIB_DIR=$PIG_HOME/lib
-    fi
-    for f in $HADOOP_LIB_DIR/*.jar; do
-        CLASSPATH=${CLASSPATH}:$f;
-    done
     CLASS=org.apache.pig.Main
     if [ "$debug" == "true" ]; then
         echo "dry run:"



Mime
View raw message