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 <[email protected]> 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 >
