hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From feng lu <amuseme...@gmail.com>
Subject Re: SequenceFile Reader
Date Sun, 03 Feb 2013 14:28:42 GMT
hi anbarasan

maybe you set the sequencefileinputformat input key class type to
intwritable。or check you mapper class<key,value>type is correctly or not。

On Saturday, February 2, 2013, Anbarasan Murthy wrote:

> I have created a MR job to read a text file and give out SequenceFile with
> key - VectorWritable
> value - Nullwritable
>
> I am getting the following exception When i tried to read the
> same sequence file using SequenceFileInputFormat with data types
> VectorWritable & NullWritable
>
> java.lang.ClassCastException: org.apache.hadoop.io.IntWritable cannot be
> cast to org.apache.hama.ml.writable.VectorWritable
>
>
>
> Thanks,
> Anbu.
>


-- 
Don't Grow Old, Grow Up... :-)

Mime
View raw message