mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <sro...@gmail.com>
Subject Re: Mahout on Hadoop
Date Sat, 28 Nov 2009 11:43:09 GMT
Yeah, this is an issue with Hadoop. You can see that when using the
new API, it's still looking for the old interfaces
(org.apache.hadoop.mapred.OutputFormat). I have also been waiting for
Hadoop to fix this.

On Sat, Nov 28, 2009 at 11:16 AM, Rajpal, Harjeet Kumar
<Harjeet.Kumar@honeywell.com> wrote:
> Hi,
>
>  I am a newbie to Hadoop and Mahout. I have configured Hadoop on my
> machine and tried to run mahout on this.
>
> I tried following command.
>
> $ bin/hadoop jar mahout-core-0.2-SNAPSHOT.job
> org.apache.mahout.cf.taste.hadoop.RecommenderJob org.
>
> apache.mahout.cf.taste.impl.recommender.slopeone.SlopeOneRecommenderTest
> 10 InputD/data1.txt InputD
>
> /data2.txt true
>
>
>
> I got following error message:
>
>
>
> 09/11/28 16:22:25 WARN conf.Configuration: DEPRECATED: hadoop-site.xml
> found in the classpath. Usage of hadoop-site.xml is deprecated. Instead
> use core-site.xml, mapred-site.xml and hdfs-site.xml to override
> properties of core-default.xml, mapred-default.xml and hdfs-default.xml
> respectively
>
> 09/11/28 16:22:25 WARN mapred.JobClient: Use GenericOptionsParser for
> parsing the arguments. Applications should implement Tool for the same.
>
> Exception in thread "main" java.lang.RuntimeException:
> java.lang.RuntimeException: class
> org.apache.hadoop.mapreduce.lib.output.TextOutputFormat not
> org.apache.hadoop.mapred.OutputFormat
>
>      at
> org.apache.hadoop.conf.Configuration.getClass(Configuration.java:840)
>
>      at
> org.apache.hadoop.mapred.JobConf.getOutputFormat(JobConf.java:488)
>
>      at
> org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:772)
>
>      at org.apache.hadoop.mapreduce.Job.submit(Job.java:432)
>
>      at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:447)
>
>      at
> org.apache.mahout.cf.taste.hadoop.RecommenderJob.main(RecommenderJob.jav
> a:66)
>
> Caused by: java.lang.RuntimeException: class
> org.apache.hadoop.mapreduce.lib.output.TextOutputFormat not
> org.apache.hadoop.mapred.OutputFormat
>
>      at
> org.apache.hadoop.conf.Configuration.getClass(Configuration.java:834)
>
>      ... 5 more
>
> Can anybody tell How to resolve this.
>
> Thanks in advance
>
>
>
> Best Regards,
>
> Harjeet Kumar Rajpal
>
>
>
>

Mime
View raw message