mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Filimon <dangeorge.fili...@gmail.com>
Subject Running example clustering code fails
Date Wed, 07 Nov 2012 20:14:58 GMT
I'm trying to play with the existing clustering code by running the Reuters
clustering example from the examples/bin folder.

I ran mvn install in examples/ and got the required jars but when I try
running ./cluster-reuters it fails because of a NoSuchMethodError in the
logging framework.

Any ideas why? Thanks!

ok. You chose 1 and we'll use kmeans Clustering
creating work directory at /tmp/mahout-work-dan
Warning: $HADOOP_HOME is deprecated.

Running on hadoop, using /usr/local/hadoop/bin/hadoop and HADOOP_CONF_DIR=
MAHOUT-JOB:
/Users/dan/proj/4/mahout/mahout-core/examples/target/mahout-examples-0.8-SNAPSHOT-job.jar
Warning: $HADOOP_HOME is deprecated.

Exception in thread "main" java.io.IOException: Mkdirs failed to create
/tmp/hadoop-dan/hadoop-unjar4121588383974858751/META-INF/lice
nse
        at org.apache.hadoop.util.RunJar.unJar(RunJar.java:47)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:132)
MAHOUT_LOCAL is set, so we don't add HADOOP_CONF_DIR to classpath.
Warning: $HADOOP_HOME is deprecated.

MAHOUT_LOCAL is set, running locally
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/Users/dan/Google%20Drive/proj/4/mahout/mahout-core/examples/target/mahout-examples-0.8-SNAPSHOT-jo
b.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/Users/dan/Google%20Drive/proj/4/mahout/mahout-core/examples/target/dependency/slf4j-jcl-1.6.6.jar!
/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/Users/dan/Google%20Drive/proj/4/mahout/mahout-core/examples/target/dependency/slf4j-log4j12-1.6.1.
jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding.
SLF4J: Your binding is version 1.5.5 or earlier.
SLF4J: Upgrade your binding to version 1.6.x.
Exception in thread "main" java.lang.NoSuchMethodError:
org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerB
inder;
        at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
        at
org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
        at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
        at
org.apache.mahout.driver.MahoutDriver.<clinit>(MahoutDriver.java:89)
Warning: $HADOOP_HOME is deprecated.

2012-11-07 22:08:51.079 java[72761:1703] Unable to load realm info from
SCDynamicStore
rmr: cannot remove /tmp/mahout-work-dan/reuters-out-seqdir: No such file or
directory.
Warning: $HADOOP_HOME is deprecated.

2012-11-07 22:08:52.849 java[72783:1703] Unable to load realm info from
SCDynamicStore
put: File /tmp/mahout-work-dan/reuters-out-seqdir does not exist.

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