hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Hadoop Query Result
Date Wed, 20 Mar 2013 00:09:16 GMT
Whatever class QueryResult is, your MR job needs its jar to be able to
read the SequenceFile as the classname is embedded in it. Passing
along its implementing jar will solve the problem.

On Tue, Mar 19, 2013 at 11:10 PM, Cyril Bogus <cyrilbogus@gmail.com> wrote:
> So I am trying to run a mahout clustering and whenever hadoop is doing the
> map reduce I get the following error
>
> java.lang.RuntimeException: java.io.IOException: WritableName can't load
> class: QueryResult
>     at
> org.apache.hadoop.io.SequenceFile$Reader.getValueClass(SequenceFile.java:1673)
>     at org.apache.hadoop.io.SequenceFile$Reader.init(SequenceFile.java:1613)
>     at
> org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1486)
>     at
> org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1475)
>     at
> org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1470)
>     at
> org.apache.hadoop.mapreduce.lib.input.SequenceFileRecordReader.initialize(SequenceFileRecordReader.java:50)
>     at
> org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.initialize(MapTask.java:522)
>     at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:763)
>     at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)
>     at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at javax.security.auth.Subject.doAs(Subject.java:416)
>     at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1121)
>     at org.apache.hadoop.mapred.Child.main(Child.java:249)
>
> When I do import with sqoop or run simple queries on the hdfs everything
> runs fine but whenever I run mahout and hadoop is called I get that error.
>
> I am running hadoop with a three nodes cluster. But even when I change it to
> juster the master node I still get the same error.
>
> Any insight on this error.
>
> Hadoop 1.0.4
> Mahout 0.7
> Sqoop1.4.2-hadoop-1.0.0
>
> Thank you for the reply in advance.



-- 
Harsh J

Mime
View raw message