[ 
https://issues.apache.org/jira/browse/HADOOP-6323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788390#action_12788390
 ] 

Aaron Kimball commented on HADOOP-6323:
---------------------------------------

The metadata field is required in all SerializerBase implementations due to 
this method in the SerializerBase signature:

{code}
public abstract Map<String, String> getMetadata() throws IOException;
{code}

You're right though, AvroGenericSerialization will only accept() if CLASS_KEY 
is set and it's assignable to AvroReflectSerializable.

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

Reply via email to