-Re: compiling zebra for pig CDH4
Cheolsoo Park 2012-07-20, 18:54
I am sorry for the inconvenience. The missing build.xml in pig rpm is
a definitely packaging bug in CDH4.0. I am going to get that fixed in
That being said, you can download the source tarball of CDH4.0 pig from
This tarball contains build.xml, so you can build zebra in the same way how
you did in the upstream pig.
ant jar -Dhadoopversion=23
> cd contrib/zebra
> ant jar
Please let me know if you have any further questions.
On Fri, Jul 20, 2012 at 3:56 AM, Benoit Mathieu <[EMAIL PROTECTED]> wrote:
> Hi all,
> I got problems compiling zebra for use with pig in CDH4.
> /usr/lib/pig/contrib/zebra$ ant jar
> Buildfile: /usr/lib/pig/contrib/zebra/build.xml
> BUILD FAILED
> /usr/lib/pig/contrib/zebra/build-contrib.xml:174: Not found:
> Please run the target "cc-compile" in the main build file
> And there is not build.xml file in /usr/lib/pig so I cannot run the
> cc-compile target.
> I tried to compile from the source code. I used the tag 0.9.2 from pig svn
> repository. I succeed to build a zebra-0.8.0-dev.jar, but this jar causes
> errors when using with the cloudera distributation of pig.
> Does anybody has an idea on how to compile a zebra jar working with the
> CDH4 distribution of pig ?