You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Jay Vyas <ja...@gmail.com> on 2014/03/23 01:14:07 UTC

pig based mapreduce jobs: /usr/lib/hadoop/lib

What is the common way to add pig to the hadoop classpath?

Do you folks generally put "pit-without-hadoop" into /usr/lib/hadoop/lib
when running java programs which launch pig jobs?

-- 
Jay Vyas
http://jayunit100.blogspot.com

Re: pig based mapreduce jobs: /usr/lib/hadoop/lib

Posted by Norbert Burger <no...@gmail.com>.
I'll usually do something like this:

CLASSPATH=$(hadoop classpath):/usr/lib/pig/pig-withouthadoop.jar java -jar
...

Norbert


On Sat, Mar 22, 2014 at 8:14 PM, Jay Vyas <ja...@gmail.com> wrote:

> What is the common way to add pig to the hadoop classpath?
>
> Do you folks generally put "pit-without-hadoop" into /usr/lib/hadoop/lib
> when running java programs which launch pig jobs?
>
> --
> Jay Vyas
> http://jayunit100.blogspot.com
>