Hey, all I did here: http://wiki.apache.org/pig/PiggyBank to create a piggybank, but I continue to get the results below. I also created a pig project from the source and link in my .bash_profile:
cloudera@cloudera-demo :~/piggybank/java$ ./makepiggy.sh Buildfile: /home/cloudera/piggybank/java/build.xml download-hive-deps: init: compile: [echo] *** Compiling Pig UDFs *** [javac] /home/cloudera/piggybank/java/build.xml:100: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 153 source files to /home/cloudera/piggybank/java/build/classes BUILD FAILED /home/cloudera/piggybank/java/build.xml:100: /home/build/ivy/lib does not exist.
here is my bash_profile:
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.22 export CLASSPATH=$CLASSPATH:/home/cloudera/pig/trunk/pig.jar
** UPDATE ** The documents were incorrect on the Wiki page, they look correct: http://wiki.apache.org/pig/PiggyBank
follow the new instructions and you should be fine
source share