mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Can't run clustering example with 0.4
Date Sun, 10 Apr 2011 15:44:36 GMT
The missing class is part of hadoop, and I note that you are using
0.21, while Mahout 0.4 was qualified with 0.20.2.

On Sun, Apr 10, 2011 at 11:42 AM, Xiaobo Gu <guxiaobo1982@gmail.com> wrote:
> Hi,
>
> I have followed the steps of page
> https://cwiki.apache.org/confluence/display/MAHOUT/Clustering+of+synthetic+control+data#Clusteringofsyntheticcontroldata-PrePrep,
>
> but I failed, I think it is because the examples jar has not been
> added to CLASSPATH, how can I add the jars to CLASSPATH,
>
>
> [gpadmin@linuxsvr ~]$ $MAHOUT_HOME/bin/mahout
> org.apache.mahout.clustering.syntheticcontrol.canopy.Job
> Running on hadoop, using HADOOP_HOME=/usr/local/hadoop-0.21.0
> No HADOOP_CONF_DIR set, using /usr/local/hadoop-0.21.0/conf
> 11/04/11 06:26:44 WARN driver.MahoutDriver: No
> org.apache.mahout.clustering.syntheticcontrol.canopy.Job.props found
> on classpath, will use command-line arguments only
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.hadoop.util.ProgramDriver.driver([Ljava/lang/String;)V
>        at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:184)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at org.apache.hadoop.util.RunJar.main(RunJar.java:192)
> [gpadmin@linuxsvr ~]$
>

Mime
View raw message