无法建立存钱罐 ->/home/build/ivy/lib 不存在 [英] Unable to build piggybank -> /home/build/ivy/lib does not exist

查看:29
本文介绍了无法建立存钱罐 ->/home/build/ivy/lib 不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,我按照这里的步骤操作:http://wiki.apache.org/pig/PiggyBank构建存钱罐罐,但我不断得到下面的输出.我还从源代码构建了 Pig 项目,并在我的 .bash_profile 中引用了它:

hey all I followed the steps here: http://wiki.apache.org/pig/PiggyBank to build the piggybank jar but I keep getting the output below. I also built the pig project from source and reference that 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.

这是我的 bash_profile:

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

** 更新 **Wiki 页面上的文档不正确,现在看来是正确的:http://wiki.apache.org/pig/PiggyBank

** UPDATE ** The docs were incorrect on the Wiki page, they appear to be correct now: http://wiki.apache.org/pig/PiggyBank

按照新的说明,你应该没问题

follow the new instructions and you should be fine

推荐答案

Wiki 页面上的文档不正确,现在看起来是正确的:http://wiki.apache.org/pig/PiggyBank

The docs were incorrect on the Wiki page, they appear to be correct now: http://wiki.apache.org/pig/PiggyBank

按照新的说明,你应该没问题

follow the new instructions and you should be fine

为 Pig 源代码创建一个目录:mkdir pig

Create a directory for the Pig source code: mkdir pig

cd 进入那个目录:cd pig

cd into that directory: cd pig

查看 Pig 源代码:svn checkout http://svn.apache.org/repos/asf/pig/trunk/ .

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

构建项目:ant

cd 进入存钱罐目录:cd contrib/piggybank/java

cd into the piggybank dir: cd contrib/piggybank/java

建立存钱罐:蚂蚁您现在应该在该目录中看到一个 piggybank.jar 文件.

Build the piggybank: ant You should now see a piggybank.jar file in that directory.

这篇关于无法建立存钱罐 ->/home/build/ivy/lib 不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆