hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Kimball (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6323) Serialization should provide comparators
Date Wed, 09 Dec 2009 23:25:18 GMT

    [ 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.


Mime
View raw message