Thank you. There are too many version of hadoop and mahout. I am a little bit confused which version mahout should run on which version hadoop. I will try mahout 0.6.
nkwindforce 3/17/2012 2012/3/16 Sean Owen <[email protected]> > As you can see from the log, the problem has nothing to do with slf4j. > That's just a trivial warning. The problem is you're using an incompatible > version of Hadoop. > > On Fri, Mar 16, 2012 at 3:23 PM, Ted Dunning <[email protected]> > wrote: > > > 0.6 has been released. Is there a reason that you don't use that? > > > > On Fri, Mar 16, 2012 at 2:03 PM, 陈松斌 <[email protected]> wrote: > > > > > hi,guys > > > I am a beginner. I download mahout 0.5 src and build it with mvn > > > -DskipTests install. > > > when I excute > > > "bin/mahout org.apache.mahout.clustering.syntheticcontrol.kmeans.Job" > > then > > > system return following, > > > but when I use > > > "hadoop jar > > > > /usr/mahout-distribution-0.5/examples/target/mahout-examples-0.5-job.jar > > > org.apache.mahout.clustering.syntheticcontrol.canopy.Job > > > ", it works and program start running. when I use "bin/mahout > vectordump > > > --seqFile /user/hadoopuser/output/data/part-00000" command to check the > > > output, > > > the multiple SLF4J bindings problem comes again. > > > Can Somebody give me some help. Thans a lot. > > > > > > [root@redhat1 > > > mahout-distribution-0.5]# bin/mahout > > > org.apache.mahout.clustering.syntheticcontrol.kmeans.Job > > > Running on hadoop, using HADOOP_HOME=/usr/hadoop-0.21.0 > > > HADOOP_CONF_DIR=/usr/hadoop-0.21.0/conf > > > SLF4J: Class path contains multiple SLF4J bindings. > > > SLF4J: Found binding in > > > > > > > > > [jar:file:/usr/hadoop-0.21.0.0/lib/slf4j-log4j12-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > > SLF4J: Found binding in > > > > > > > > > [jar:file:/usr/mahout-distribution-0.5/examples/target/mahout-examples-0.5-job.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > > SLF4J: Found binding in > > > > > > > > > [jar:file:/usr/mahout-distribution-0.5/examples/target/dependency/slf4j-jcl-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings > > > for an explanation. > > > 12/03/16 22:11:26 WARN driver.MahoutDriver: No > > > org.apache.mahout.clustering.syntheticcontrol.kmeans.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:187) > > > 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) > > > [root@redhat1 mahout-distribution-0.5]# bin/mahout vectordump > --seqFile > > > /user/hadoopuser/output/data/part-00000 > > > Running on hadoop, using HADOOP_HOME=/usr/hadoop-0.21.0 > > > HADOOP_CONF_DIR=/usr/hadoop-0.21.0/conf > > > SLF4J: Class path contains multiple SLF4J bindings. > > > SLF4J: Found binding in > > > > > > > > > [jar:file:/usr/hadoop-0.21.0/lib/slf4j-log4j12-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > > SLF4J: Found binding in > > > > > > > > > [jar:file:/usr/mahout-distribution-0.5/examples/target/mahout-examples-0.5-job.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > > SLF4J: Found binding in > > > > > > > > > [jar:file:/usr/mahout-distribution-0.5/examples/target/dependency/slf4j-jcl-1.6.0.jar!/org/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:187) > > > 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) > > > > > > > > > > > > > > > windforce > > > 3/16/2012 > > > > > >
