Unable to build piggybank -> / home / build / ivy / lib does not exist

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

+3
source share
1 answer

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

Create a directory for the Pig source code: mkdir pig

cd to directory: cd pig

Checkout the source code for Pig: svn checkout http://svn.apache.org/repos/asf/pig/trunk/ .

Build a project: ant

cd to the piggybank directory: cd contrib / piggybank / java

Build a piggy bank: ant Now you should see the piggybank.jar file in this directory.

+3
source

Source: https://habr.com/ru/post/886369/


All Articles