Try this: # export PATH=/usr/local/pig-0.7.0/bin:$PATH
# export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/ # export HADOOPDIR=/usr/local/hadoop/conf # export PIG_PATH=/usr/local/pig-0.7.0/ # export PIG_CLASSPATH=$HADOOPDIR # export PIG_HADOOP_VERSION=0.20.2 JAVA_HOME must match what's in the /usr/local/hadoop/conf/hadoop-env.sh. Oddly, the $PIG_CLASSPATH must point to the *directory* in which the Hadoop config files live. It is *not* a list of jar files as one might assume. Dave Viner On Tue, Jul 20, 2010 at 10:06 AM, Ifeanyichukwu Osuji <[email protected] > wrote: > > > > Hi, > I dont know how to include my hadoop/conf directory to my > classpath. Can someone help? Thanks. > > > Ifeanyichukwu Osuji > >
