Bryan A. Pendleton wrote:
Maybe I'm reading the code wrong.It looks to me like the FileSplit that gets used by a MapTaskRunner comesfrom the instantiation of a FileSplit in MapTask.java, which deserializes itfrom 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