mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <>
Subject [jira] [Commented] (MAHOUT-1118) SLF4J Log4j bindings are messed up causing examples to fail
Date Sun, 18 Nov 2012 14:22:58 GMT


Grant Ingersoll commented on MAHOUT-1118:

I'll let Jenkins do its thing before closing this out.
> SLF4J Log4j bindings are messed up causing examples to fail
> -----------------------------------------------------------
>                 Key: MAHOUT-1118
>                 URL:
>             Project: Mahout
>          Issue Type: Bug
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>         Attachments: MAHOUT-1118.patch
> We are routinely seeing the following failures when running the examples on Jenkins and
they are due to old SLF4j bindings on Cassandra and HBase:
> {code}
> Training on /tmp/mahout-work-jenkins/20news-bydate/20news-bydate-train/
> hadoop binary is not in PATH,HADOOP_HOME/bin,HADOOP_PREFIX/bin, running locally
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/x1/jenkins/jenkins-slave/workspace/Mahout-Examples-Classify-20News/trunk/examples/target/mahout-examples-0.8-SNAPSHOT-job.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/x1/jenkins/jenkins-slave/workspace/Mahout-Examples-Classify-20News/trunk/examples/target/dependency/slf4j-jcl-1.7.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/x1/jenkins/jenkins-slave/workspace/Mahout-Examples-Classify-20News/trunk/examples/target/dependency/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See 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/StaticLoggerBinder;
> 	at org.slf4j.LoggerFactory.bind(
> 	at org.slf4j.LoggerFactory.performInitialization(
> 	at org.slf4j.LoggerFactory.getILoggerFactory(
> 	at org.slf4j.LoggerFactory.getLogger(
> 	at org.slf4j.LoggerFactory.getLogger(
> 	at org.apache.mahout.driver.MahoutDriver.<clinit>(
> Could not find the main class: org.apache.mahout.driver.MahoutDriver.  Program will exit.
> Build step 'Execute shell' marked build as failure
> Sending e-mails to: p
> {code}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message