mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jrckkyy <jrck...@gmail.com>
Subject hello i have a problem, mahout 0.7 can‘t run on hadoop 0.23.1 ?help me
Date Tue, 11 Sep 2012 10:00:16 GMT
hello every body ,I meet a problem, ask ace to help me answer, Google out
are outdated solution.

my hadoop version:
[×@× mahout-distribution-0.7]$ hadoop version
Hadoop 0.23.1
Subversion git://
devadm900.cc1.ygridcore.net/grid/0/dev/acm/hadoop-0.23/hadoop-common-project/hadoop-common-r
9f8d9b1259d1725f1ca02abd19f516311799152f
Compiled by hortonmu on Sat Feb 18 06:50:55 UTC 2012
>From source with checksum bc308207a625ed1c283deea1f535b45f

mahout version:
mahout-distribution-0.7

i have two erro:

1:i set MAHOUT_LOCAL
mahout-distribution-0.7]$ ./bin/mahout
MAHOUT_LOCAL is set, so we don't add HADOOP_CONF_DIR to classpath.
MAHOUT_LOCAL is set, running locally
。。。
slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
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:123)


2:
i not set MAHOUT_LOCAL ,but set HADOOP_CONF_DIR and i set
CLASSPATH=$CLASSPATH:/×/hadoop-0.23.1/etc/hadoop:/×/hadoop-0.23.1/etc/hadoop:/×/hadoop-0
.23.1/etc/hadoop:/×/hadoop-0.23.1/share/hadoop/common/lib/*:/×/hadoop-0.23.1/share/hadoop/common/*
:/×/hadoop-0.23.1/share/hadoop/hdfs:/×/hadoop-0.23.1/share/hadoop/hdfs/lib/*:/×/hadoop-0
.23.1/share/hadoop/hdfs/*:/×/hadoop-0.23.1/share/hadoop/mapreduce/lib/*:/×/hadoop-0.23.1/share/had
oop/mapreduce/*:/×/hadoop-0.23.1/share/hadoop/mapreduce/*:/×/hadoop-0.23.1/share/hadoop/mapreduce/
lib/*:

mahout-distribution-0.7]$ ./bin/mahout
MAHOUT_LOCAL is not set; adding HADOOP_CONF_DIR to classpath.
。。。
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
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:123)
        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:200)

-- 

此致
       敬礼!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message