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

Doug Cutting commented on HADOOP-6323:
--------------------------------------

> What is the intended use of the metadata parameter? 

In the current Serialization API, the container is required to maintain 
metadata.  For Writable, the Java class name is in the metadata.  For Avro, the 
schema is in the metadata.  When a container wishes to create a Serializer or 
Deserializer, it must provide the metadata.  This was added in HADOOP-6165.

The proposal here is to also treat raw comparators this way, so that when a 
container wishes to create a raw comparator, it asks the Serialization, passing 
in the metadata that describes the serialized data.  Does that make sense?


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