Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> SequenceFile Reader

Copy link to this message
SequenceFile Reader
I have created a MR job to read a text file and give out SequenceFile with key - VectorWritablevalue - 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