hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: [jira] Commented: (HADOOP-451) Add a Split interface
Date Tue, 15 Aug 2006 19:50:14 GMT
Bryan A. Pendleton wrote:
> Maybe I'm reading the code wrong.
> 
> It looks to me like the FileSplit that gets used by a MapTaskRunner comes
> from the instantiation of a FileSplit in MapTask.java, which 
> deserializes it
> from a stream. In the very least, if MapTasks stay Writable, then that code
> is wrong.

You're right.  That code will have to be changed to use 
ObjectWritable.writeObject() and ObjectWritable.readObject(), so that 
the subclass name is written too.


Doug

Mime
View raw message