mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manish dunani <manishd...@gmail.com>
Subject problem: can't run RecommenderJob over hadoop
Date Tue, 28 Feb 2012 10:39:31 GMT
when ever i try to run RecommenderJob over hadoop i got the following error:

I had done little bit of change in it.Not same as in "Mahout in Action".

hduser@ubuntu:/usr/local/hadoop$ bin/hadoop jar
/opt/mahout/core/target/mahout-core-0.7-SNAPSHOT.jar
org.apache.mahout.cf.taste.hadoop.item.RecommenderJob
-Dmapred.input.dir=input/input.txt -Dmapred.output.dir=output --usersFile
input/users.txt --booleanData

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/cli2/Option
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:149)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli2.Option
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    ... 3 more

please help me to solve this out.!

-- 
MANISH DUNANI
-THANX
manishd207@gmail.com

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