Hi all:

When I try to run the 20news-group
example(http://mahout.apache.org/users/classification/twenty-newsgroups.html),I
get the error below:


mahout seqdirectory -i $WORK_DIR/20news-all -o $WORK_DIR/20news-seq
MAHOUT_LOCAL is not set; adding HADOOP_CONF_DIR to classpath.
Error: Could not find or load main class classpath
Running on hadoop, using /home/hadoop/hadoop-0.20.2/bin/hadoop and
HADOOP_CONF_DIR=/home/hadoop/hadoop-0.20.2/conf
MAHOUT-JOB: /home/hadoop/mahout-distribution-0.9/mahout-examples-0.9-job.jar
14/10/09 19:48:07 INFO common.AbstractJob: Command line arguments:
{--charset=[UTF-8], --chunkSize=[64],
--endPhase=[2147.text.PrefixAdditionFilter],
--input=[/tmp/mahout-work-hadoop/20news-all], --keyPrefix=[],
--method=[mapreduce], --outputtPhase=[0], --tempDir=[temp]}
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/hadoop/mapreduce/lib/input/CombineFileInputFormat
        at java.lang.ClassLoader.defineClass1(Native Method)



Before I ran the 20news example,I have ran kmeans example, that's ok.
I wonder that if my hadoop version is not compatable with mahout-0.9.
I use hadoop-0.20.2 and mahout-0.9.



Reply via email to