You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Xavier Stevens <xs...@mozilla.com> on 2010/08/02 17:33:25 UTC

Re: Removing Jetty classes from Pig JAR

 That makes sense.  Thanks Ashutosh!


On 7/31/10 1:21 PM, Ashutosh Chauhan wrote:
> Xavier,
>
> There is an ant target pig-withouthadoop which generates
> pig-withouthadoop.jar which contains minimal classes to run Pig and
> has none of dependencies in it. It's 5.4M compared to 13M of pig.jar
> You may want to try that.
>
> The default target builds pig.jar since we dont want our new users to
> deal with classpath issues when they are just starting off and thus
> build a self-contained jar for them.
>
> Ashutosh
>
> On Sat, Jul 31, 2010 at 09:30, Scott Carey <sc...@richrelevance.com> wrote:
>> It has about 10x. The jars necessary in it including hadoop and all its dependencies.   I had to build a sanitized pig jar the build.xml has some targets with reduced output.
>>
>> ----- Reply message -----
>> From: "Xavier Stevens" <xs...@mozilla.com>
>> Date: Fri, Jul 30, 2010 9:30 am
>> Subject: Removing Jetty classes from Pig JAR
>> To: "pig-user@hadoop.apache.org" <pi...@hadoop.apache.org>
>>
>> It seems the Pig 0.7.0 JAR contains Jetty classes.  It's causing some
>> classloader problems for a webapp of mine that happens to include the
>> Pig JAR.  Is there some reason why this has to be this way?  If not they
>> should probably be removed.
>>
>>
>> -Xavier
>>