Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed the massive Pig core. Replaced with Dev-core. Cannot run Pig …

…directly now, need to set $PIG_HOME
  • Loading branch information...
commit d74a474c945c98dacf1f751163f7242dec31ab81 1 parent 2c86009
Roshan Sumbaly rsumbaly authored
2  .classpath
View
@@ -53,6 +53,6 @@
<classpathentry kind="lib" path="lib/jackson-core-asl-1.4.0.jar"/>
<classpathentry kind="lib" path="lib/avro-modified-jdk5-1.3.0.jar"/>
<classpathentry kind="lib" path="contrib/krati/lib/krati-0.3.3.jar"/>
- <classpathentry kind="lib" path="contrib/hadoop/lib/pig-0.7.0-core.jar"/>
+ <classpathentry kind="lib" path="contrib/hadoop/lib/pig-0.7.1-dev-core.jar"/>
<classpathentry kind="output" path="classes"/>
</classpath>
14 contrib/hadoop/bin/voldemort-pig.sh
View
@@ -35,6 +35,18 @@ do
CLASSPATH=$CLASSPATH:$file
done
+if [ "x$PIG_HOME" = "x" ]; then
+ echo 'Please set PIG_HOME'
+ exit 1
+fi
+
+JAR=$PIG_HOME/pig.jar
+if [ ! -e $JAR ]; then
+ echo 'Could not find Pig jar'
+ exit 1
+fi
+CLASSPATH=$CLASSPATH:$JAR
+
export CLASSPATH
-java -Xmx4G $PIG_JAVA_OPTS -Dudf.import.list=voldemort.hadoop.pig -cp $CLASSPATH org.apache.pig.Main $*
+java $PIG_JAVA_OPTS -Dudf.import.list=voldemort.hadoop.pig -cp $CLASSPATH org.apache.pig.Main $*
BIN  contrib/hadoop/lib/pig-0.7.0-core.jar
View
Binary file not shown
BIN  contrib/hadoop/lib/pig-0.7.1-dev-core.jar
View
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.