Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # user >> Removing Jetty classes from Pig JAR

Xavier Stevens 2010-07-30, 16:30
Scott Carey 2010-07-31, 16:30
Copy link to this message
Re: Removing Jetty classes from Pig JAR

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
> 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
Xavier Stevens 2010-08-02, 15:33
Scott Carey 2010-08-08, 19:41
Ashutosh Chauhan 2010-08-09, 00:49