Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> Building pig and piggybank from CDH 4.2.0 sources?

Copy link to this message
Re: Building pig and piggybank from CDH 4.2.0 sources?
Hi Cheolsoo,

On Wed, Apr 24, 2013 at 11:53 PM, Cheolsoo Park <[EMAIL PROTECTED]>wrote:

> Please try:
> ant clean jar-all piggybank -Dhadoopversion=23

Thanks, this really helped.
Perhaps this should be part of a "Developer / Build Howto" ?
I downloaded the current trunk of pig (via github) and ran into a
completely different hurdle:
With hadoopversion=23 this target is fired
    <target name="include-meta" if="isHadoop23">

And even though I installed ant 1.9.0 (the latest) it causes an NPE in ant

*/home/nbasjes/workspace/pig/build.xml:658: The following error occurred
while executing this line:*
*/home/nbasjes/workspace/pig/build.xml:667: java.lang.NullPointerException*
*        at org.apache.tools.ant.taskdefs.Zip.zipFile(Zip.java:1827)*
*        at org.apache.tools.ant.taskdefs.Jar.zipFile(Jar.java:702)*
*        at org.apache.tools.ant.taskdefs.Zip.zipFile(Zip.java:1856)*

Has anyone seen this too? Is this a bug in ant or am I doing something

Best regards / Met vriendelijke groeten,

Niels Basjes