Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> should put pig*.jar into CLASSPATH during run pig command?


Copy link to this message
-
should put pig*.jar into CLASSPATH during run pig command?
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.
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB