hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6660) add wrapper for Avro data
Date Thu, 25 Mar 2010 21:29:27 GMT

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

Doug Cutting commented on HADOOP-6660:
--------------------------------------

Since Writable will not be implemented, but instead a serialization will be implemented, the
wrapper class need not contain pointers to the schema, reader, and writer implementations,
as these can now reside in the serializer and deserializer.  Thus the two wrapper classes
become something like:

{code}
public class AvroValue implements Writable {
  private Object value;
}
// marker class for keys
public class AvroKey extends AvroValue implements Comparable {}
{code}

> add wrapper for Avro data
> -------------------------
>
>                 Key: HADOOP-6660
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6660
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: io
>            Reporter: Doug Cutting
>             Fix For: 0.22.0
>
>
> To permit passing Avro data through MapReduce we can add a wrapper class and serialization
for it.

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