hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen O'Malley <omal...@apache.org>
Subject Re: Using JavaSerialzation and SequenceFileInput
Date Wed, 17 Sep 2008 17:35:55 GMT
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

View raw message