-Re: Removing Jetty classes from Pig JAR
Ashutosh Chauhan 2010-07-31, 20:21
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.
On Sat, Jul 31, 2010 at 09:30, Scott Carey <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]>
> Date: Fri, Jul 30, 2010 9:30 am
> Subject: Removing Jetty classes from Pig JAR
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> 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.