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

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

> what key should be used in the metadata to specify the schema string.

This part was already implemented in HADOOP-6165.  Currently the serialization 
system is named by the "Serialization-Class" metadata key.  The currently 
supported values for this key are: 
"org.apache.hadoop.io.serializer.WritableSerialzation", 
"org.apache.hadoop.io.serializer.JavaSerialzation", and 
"org.apache.hadoop.io.serializer.avro.AvroSerialzation".  Writable and Java 
serialization implementations use the key "Serialized-Class" to the name the 
serialized Java class, and Avro's serialization implementation uses the key 
"Avro-Schema" for the schema.  These are currently stored by SequenceFile's 
metadata.

So the proposal here adds no new metadata keys or values.  It simply adds a new 
method to the existing Serialization API, extending it to also support the 
creation of raw comparators.


> 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