MapReduce, mail # dev - Re: how to set org.apache.hadoop classpath? - 2014-01-27, 22:21
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Re: how to set org.apache.hadoop classpath?
The imports referenced in your error come from the hadoop-common jar,
and won't be present in the hadoop-mapreduce-client-core jar.

The most ideal way to set your compile classpath would be to rely on
the "hadoop classpath" command. Provided $HADOOP_PREFIX/bin/ is on
your $PATH, do the below:

export CLASSPATH=$(hadoop classpath)
javac WordCount.java

On Mon, Jan 27, 2014 at 1:43 PM, EdwardKing <[EMAIL PROTECTED]> wrote:

Harsh J

 
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