|
|
-
why pig did not compile contrib directory during "ant jar"? How to compile contrib directory?
lulynn_2008 2012-05-23, 03:08
Hi, During generating pig jar files, I found the contrib directory is not compiled. I assume maybe this is because the contrib directory is not for pig mainline functions. Am I right? Besides, if I want to compile the contrib directory, how to do this? I did not find related target in build.xml.
Thanks.
-
Re: why pig did not compile contrib directory during "ant jar"? How to compile contrib directory?
Prashant Kommireddi 2012-05-23, 03:17
You can navigate to piggybank directory and run the ant target (ant jar) from there. You should find "build.xml" for piggybank in there.
$PIG_HOME/contrib/piggybank/java (where PIG_HOME is the parent directory for pig)
That will create piggybank.jar.
Thanks, Prashant
On Tue, May 22, 2012 at 8:08 PM, lulynn_2008 <[EMAIL PROTECTED]> wrote:
> Hi, > During generating pig jar files, I found the contrib directory is not > compiled. I assume maybe this is because the contrib directory is not for > pig mainline functions. Am I right? > Besides, if I want to compile the contrib directory, how to do this? I did > not find related target in build.xml. > > Thanks. >
-
Re:Re: why pig did not compile contrib directory during "ant jar"? How to compile contrib directory?
lulynn_2008 2012-05-23, 03:28
Yes, I found build.xml for each part: penny, piggybank and zebra. Do you know what the 3 parts are used for?
At 2012-05-23 11:17:29,"Prashant Kommireddi" <[EMAIL PROTECTED]> wrote: >You can navigate to piggybank directory and run the ant target (ant jar) >from there. You should find "build.xml" for piggybank in there. > >$PIG_HOME/contrib/piggybank/java (where PIG_HOME is the parent directory >for pig) > >That will create piggybank.jar. > >Thanks, >Prashant > >On Tue, May 22, 2012 at 8:08 PM, lulynn_2008 <[EMAIL PROTECTED]> wrote: > >> Hi, >> During generating pig jar files, I found the contrib directory is not >> compiled. I assume maybe this is because the contrib directory is not for >> pig mainline functions. Am I right? >> Besides, if I want to compile the contrib directory, how to do this? I did >> not find related target in build.xml. >> >> Thanks. >>
-
Re: why pig did not compile contrib directory during "ant jar"? How to compile contrib directory?
Bill Graham 2012-05-23, 03:35
You need to cd into the contrib root dir and build from there. Contribs have their own build.xml.
On Tuesday, May 22, 2012, lulynn_2008 wrote:
> Hi, > During generating pig jar files, I found the contrib directory is not > compiled. I assume maybe this is because the contrib directory is not for > pig mainline functions. Am I right? > Besides, if I want to compile the contrib directory, how to do this? I did > not find related target in build.xml. > > Thanks. > -- Sent from Gmail Mobile
-
Re:Re: why pig did not compile contrib directory during "ant jar"? How to compile contrib directory?
lulynn_2008 2012-05-23, 03:46
Thanks Bill. Do you know what the contrib directory is used for?
At 2012-05-23 11:35:23,"Bill Graham" <[EMAIL PROTECTED]> wrote: >You need to cd into the contrib root dir and build from there. Contribs >have their own build.xml. > >On Tuesday, May 22, 2012, lulynn_2008 wrote: > >> Hi, >> During generating pig jar files, I found the contrib directory is not >> compiled. I assume maybe this is because the contrib directory is not for >> pig mainline functions. Am I right? >> Besides, if I want to compile the contrib directory, how to do this? I did >> not find related target in build.xml. >> >> Thanks. >> > > >-- >Sent from Gmail Mobile
-
Re:Re: why pig did not compile contrib directory during "ant jar"? How to compile contrib directory?
lulynn_2008 2012-05-23, 03:49
Hey, I found the document for contrib directory: https://cwiki.apache.org/confluence/display/PIG/User+DocumentationAt 2012-05-23 11:35:23,"Bill Graham" <[EMAIL PROTECTED]> wrote: >You need to cd into the contrib root dir and build from there. Contribs >have their own build.xml. > >On Tuesday, May 22, 2012, lulynn_2008 wrote: > >> Hi, >> During generating pig jar files, I found the contrib directory is not >> compiled. I assume maybe this is because the contrib directory is not for >> pig mainline functions. Am I right? >> Besides, if I want to compile the contrib directory, how to do this? I did >> not find related target in build.xml. >> >> Thanks. >> > > >-- >Sent from Gmail Mobile
-
Re:Re: why pig did not compile contrib directory during "ant jar"? How to compile contrib directory?
lulynn_2008 2012-05-23, 03:49
Hey, I found the document for contrib directory: https://cwiki.apache.org/confluence/display/PIG/User+DocumentationAt 2012-05-23 11:17:29,"Prashant Kommireddi" <[EMAIL PROTECTED]> wrote: >You can navigate to piggybank directory and run the ant target (ant jar) >from there. You should find "build.xml" for piggybank in there. > >$PIG_HOME/contrib/piggybank/java (where PIG_HOME is the parent directory >for pig) > >That will create piggybank.jar. > >Thanks, >Prashant > >On Tue, May 22, 2012 at 8:08 PM, lulynn_2008 <[EMAIL PROTECTED]> wrote: > >> Hi, >> During generating pig jar files, I found the contrib directory is not >> compiled. I assume maybe this is because the contrib directory is not for >> pig mainline functions. Am I right? >> Besides, if I want to compile the contrib directory, how to do this? I did >> not find related target in build.xml. >> >> Thanks. >>
-
Re: Re: why pig did not compile contrib directory during "ant jar"? How to compile contrib directory?
Bill Graham 2012-05-23, 05:11
The contrib directories are where the source of the various contribs live. You only need to compile them if you plan to use a given contrib. Piggybank is a collection of useful UDFs: https://cwiki.apache.org/confluence/display/PIG/PiggyBankZebra: http://pig.apache.org/docs/r0.7.0/zebra_overview.htmlPenny: http://pig.apache.org/docs/r0.10.0/test.html#pennyOn Tue, May 22, 2012 at 8:46 PM, lulynn_2008 <[EMAIL PROTECTED]> wrote: > Thanks Bill. > Do you know what the contrib directory is used for? > > > > At 2012-05-23 11:35:23,"Bill Graham" <[EMAIL PROTECTED]> wrote: > >You need to cd into the contrib root dir and build from there. Contribs > >have their own build.xml. > > > >On Tuesday, May 22, 2012, lulynn_2008 wrote: > > > >> Hi, > >> During generating pig jar files, I found the contrib directory is not > >> compiled. I assume maybe this is because the contrib directory is not for > >> pig mainline functions. Am I right? > >> Besides, if I want to compile the contrib directory, how to do this? I did > >> not find related target in build.xml. > >> > >> Thanks. > >> > > > > > >-- > >Sent from Gmail Mobile > > > > -- *Note that I'm no longer using my Yahoo! email address. Please email me at [EMAIL PROTECTED] going forward.*
|
|