FAQ
for f in $PIG_HOME/pig-*-core.jar; do
CLASSPATH=${CLASSPATH}:$f;
done

In release tall ball, you will have pig-0.8.1-core.jar, that's the jar pig
script use.

Daniel

2011/9/9 lulynn_2008 <lulynn_2008@163.com>
Hello,
In pig script of pig-0.8.1, I did not find command line for adding pig*.jar
into CLASSPATH environment variable. Just the following:
# during development pig jar might be in build
for f in $PIG_HOME/build/pig-*-SNAPSHOT.jar; do
CLASSPATH=${CLASSPATH}:$f;
done

Should I add some commands in pig script for adding pig*.jar into
CLASSPATH? If no need, please tell your opinion. Thank you.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 3 | next ›
Discussion Overview
groupuser @
categoriespig, hadoop
postedSep 9, '11 at 8:07a
activeSep 13, '11 at 12:06p
posts3
users2
websitepig.apache.org

2 users in discussion

Lulynn_2008: 2 posts Daniel Dai: 1 post

People

Translate

site design / logo © 2022 Grokbase