The problem is that the Java serialization works for SequenceFile, but doesn't work with RecordReader. The problem is that Java serialization always returns a new object and the RecordReader interface looks like:

boolean next(Object key, Object value) throws IOException;

where the outer context needs to pass in the object. Note that we are working on fixing it, but it will require HADOOP-1230, which creates a completely new API.

-- Owen

Reply via email to