Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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 Niels,

>> Perhaps this should be part of a "Developer / Build Howto" ?

You probably want to ask it to CDH user group. I don't think Apache
projects document about specific distros.

Regarding the other error, I can't reproduce it with Apache Pig. I am using
Ant 1.8.2.

Thanks,
Cheolsoo
On Thu, Apr 25, 2013 at 2:01 PM, Niels Basjes <[EMAIL PROTECTED]> wrote:

> 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
> itself.
>
> *BUILD FAILED
> *
> */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
> wrong?
>
> --
> Best regards / Met vriendelijke groeten,
>
> Niels Basjes
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB