|
|
-
Re: compiling zebra for pig CDH4Cheolsoo Park 2012-07-20, 18:54
Hello Benoit,
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 CDH4.1. That being said, you can download the source tarball of CDH4.0 pig from here: http://archive.cloudera.com/cdh4/cdh/4/pig-0.9.2-cdh4.0.1.tar.gz 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. Thanks, Cheolsoo 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 > > javacc-exists: > > BUILD FAILED > /usr/lib/pig/contrib/zebra/build-contrib.xml:174: Not found: > /usr/lib/pig/build/ivy/lib/Pig/javacc.jar > 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 ? > > thanks, > > ++ > benoit > |