Hello,

I'm currently using version 0.7.2 of Hadoop and there is no way for me
to upgrade (it is a school project, and they won't upgrade the cluster
until after finals). I've ran into an issue where I can't output my
Record I/O generated types in a MapFile. I noticed this patch:

http://issues.apache.org/jira/browse/HADOOP-747

but that doesn't apply because I'm not using buffers. Here is the
error I'm getting:

java.io.IOException: All fields not set:
        at org.andrewhitchcock.netflix_data.Movie.serialize(Movie.java:26)
        at org.andrewhitchcock.netflix_data.Movie.write(Movie.java:55)
        at 
org.apache.hadoop.io.SequenceFile$BlockCompressWriter.append(SequenceFile.java:830)
        at org.apache.hadoop.io.MapFile$Writer.append(MapFile.java:153)
        at 
org.apache.hadoop.mapred.MapFileOutputFormat$1.write(MapFileOutputFormat.java:54)
        at org.apache.hadoop.mapred.ReduceTask$3.collect(ReduceTask.java:263)
        at 
org.andrewhitchcock.project.FloatAvgReducer.reduce(FloatAvgReducer.java:27)
        at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:277)
        at 
org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1210)

Note: it works just fine if I output to SequenceFile or plaintext. I'd
be very grateful if someone knew of a workaround I could use or try to
get this to work.

Thanks very much,
Andrew Hitchcock

Reply via email to