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... :-)
