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-6930) AvroRpcEngine doesn't work with generated Avro code
Date Thu, 26 Aug 2010 22:59:55 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903131#action_12903131

Doug Cutting commented on HADOOP-6930:

Avro 1.4, which should be released next week, better integrates 'specific' and 'reflect'.
 With a little more effort this could be make to 'just work', i.e., ReflectRequestor and ReflectResponder
would be able to handle Specific data.  Glancing at the code, it looks like mostly what remains
is fixing a few isX() methods in ReflectData so that unions would be dispatched correctly.
 Making GenericArray to implement Collection would also simplify this.  Anyway, it's close.
 If this sounds of interest, please file an Avro Jira requesting this.

Alternately, we could simply configure things, protocol-by-protocol to use either specific
or reflect.  But intermixing might then cause problems, and it might be nice to be able to
move more incrementally.

> AvroRpcEngine doesn't work with generated Avro code
> ---------------------------------------------------
>                 Key: HADOOP-6930
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6930
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>            Reporter: Sharad Agarwal
> AvroRpcEngine uses 'reflect' based java implementation. There should be a way to have
it work with 'specific' (generated code from avro idl).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message