[ https://issues.apache.org/jira/browse/HADOOP-6323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788382#action_12788382 ]
Aaron Kimball commented on HADOOP-6323: --------------------------------------- @Tom this isn't a new check -- MapOutputBuffer.collect() already did this exact same check. But for MapOutputBuffer to use a generic serialization API that isn't necessarily class-based, this check is just being pushed down into the SerializerBase.serialize() method. @Doug - Sure, I'll have WritableSerialization throw. AvroSerialization can't create the schema in the c'tor; the {{AvroSerialization.getSchema()}} method takes in the metadata as well as an example instance being serialized. That is not yet available when the AvroSerializer is being constructed. I don't see how AvroReflectSerialization would work without this. > Serialization should provide comparators > ---------------------------------------- > > Key: HADOOP-6323 > URL: https://issues.apache.org/jira/browse/HADOOP-6323 > Project: Hadoop Common > Issue Type: New Feature > Components: io > Reporter: Doug Cutting > Assignee: Aaron Kimball > Attachments: HADOOP-6323.2.patch, HADOOP-6323.3.patch, > HADOOP-6323.4.patch, HADOOP-6323.5.patch, HADOOP-6323.patch > > > The Serialization interface should permit one to create raw comparators. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.