成功运行以下命令。
git clone -b spark https://github.com/apache/pig
ant -Dhadoopversion=23
但是在生成eclipse文件时它会给我一个错误
ant clean eclipse-files
错误堆栈
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: org.apache.hadoop#hadoop-yarn-common;1.0.4: not found
[ivy:resolve] :: org.apache.hadoop#hadoop-yarn-client;1.0.4: not found
[ivy:resolve] :: org.apache.hadoop#hadoop-yarn-api;1.0.4: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
完整堆栈跟踪链接 https://gist.github.com/krishnakalyan3/b1a5c024c81ac5d211d6