Return-Path: X-Original-To: apmail-mahout-user-archive@www.apache.org Delivered-To: apmail-mahout-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 51CDE98B9 for ; Wed, 18 Apr 2012 04:22:25 +0000 (UTC) Received: (qmail 21414 invoked by uid 500); 18 Apr 2012 04:22:23 -0000 Delivered-To: apmail-mahout-user-archive@mahout.apache.org Received: (qmail 21203 invoked by uid 500); 18 Apr 2012 04:22:23 -0000 Mailing-List: contact user-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@mahout.apache.org Delivered-To: mailing list user@mahout.apache.org Delivered-To: moderator for user@mahout.apache.org Received: (qmail 83371 invoked by uid 99); 18 Apr 2012 02:30:33 -0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mallya.devadas@gmail.com designates 209.85.210.170 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=XIGdiTps8XwZ/aI+HBzHLquYaX8SS3vt2vlkyYA3D9g=; b=tUemJCs0g7N6TzWGj/UScDMEAYslHZ5t8uxmqpl4ckvxhaofMKwwXnj69Ao/q4p79e qLk9ivkVnRlcLLwaQ4ARiNFAnSSlfTCPRrchsSYSD14uL4X/OoYhCodqyMUc04r/l1Z5 elvJH8tgrggVl+LNIvU5P7VNh2lCzOHelkM76Mt+H41G/hMj9wy2ZH0RXmz0ithUOlNU 8R/RZ/3Yj8rdSvApF75J1nF5cnff8KGT466KGvqBQDxuAc0cP1Y7jYXBd02QoI5dob7k iToXdYrXkASUlk1A5JJzHGpjTIszBLusJsGZHX1zmxP83WQ/lZLo5Lpg3+1Sf3Rr+bKK OqRw== MIME-Version: 1.0 From: Devadas Mallya Date: Tue, 17 Apr 2012 22:29:46 -0400 Message-ID: Subject: SLF4J Exception while running RecommenderJob To: user@mahout.apache.org Content-Type: multipart/alternative; boundary=f46d0447850f650ffe04bdead5af X-Virus-Checked: Checked by ClamAV on apache.org --f46d0447850f650ffe04bdead5af Content-Type: text/plain; charset=ISO-8859-1 Hi, I am trying to run the RecommenderJob Map/Reduce class. However I get an error saying SLF4J is incompatible with this binding. The command I am using is: bin/hadoop jar mahout-core-0.7-SNAPSHOT-job org.apache.mahout.cf.taste.hadoop.item.RecommenderJob -Dmapred.input.dir=/user/input/ratingsLess.txt -Dmapred.output.dir=/user/input/output --usersFile input/users.txt --numRecommendations 5 -s SIMILARITY_TANIMOTOCOEFFICIENT The error is: 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. or 2.0.x Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder; at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121) at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) at org.apache.mahout.common.AbstractJob.(AbstractJob.java:88) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.hadoop.util.RunJar.main(RunJar.java:149) Please let me know what I'm missing. Thanks. Dev. --f46d0447850f650ffe04bdead5af--