Yeah you see the same problem I do. If you use the Hadoop 0.20 API here it
fails because something in Hadoop expects 0.19 APIs. Seems like a bug and I
am waiting on a fix.
The other error sound like a Hadoop version mismatch.
It remains required to pass in a list of user ID to recommend for as input,
yes.
On Oct 15, 2009 10:27 AM, "jamborta" <jamborta@gmail.com> wrote:
thanks. I tried to run it. I have two places to run it. my desktop where I
installed hadoop. it gives me this error:
Exception in thread "main" java.lang.RuntimeException:
java.lang.RuntimeException: class
org.apache.hadoop.mapreduce.lib.output.TextOutputFormat not
org.apache.hadoop.mapred.OutputFormat
and we have a server running where it gives me another error (I guess this
one is becuase this hadoop is an older version 0.18):
java.lang.NoSuchMethodError:
org.apache.hadoop.mapred.JobConf.setBooleanIfUnset(Ljava/lang/String;Z)V
at org.apache.hadoop.mapreduce.Job.setUseNewAPI(Job.java:388)
this is what I used to run it:
hadoop-0.20.1/bin/hadoop jar data/mahout-examples-0.2-SNAPSHOT.job
org.apache.mahout.cf.taste.hadoop.RecommenderJob -r
org.apache.mahout.cf.taste.impl.recommender.slopeone.SlopeOneRecommender -n
10 -m data/data/all_data.data -f data/data/all_data.data -o /output
I'm not sure about what I should put for userIdFile because userids are
already in the dataModelFile, at least that's how your input worked before.
thanks a lot for your help,
Tamas
--
View this message in context:
http://www.nabble.com/Running-mahout-on-hadoop-tp25910380p25912732.html
Sent from the Mahout User List mailing list archive at Nabble.com.
|