avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Beech (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1171) Configure method is being called twice on AvroMapper instances
Date Sat, 22 Sep 2012 08:57:08 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dave Beech updated AVRO-1171:
-----------------------------

    Attachment: AVRO-1171.patch

Here's a patch - all tests pass. 
                
> Configure method is being called twice on AvroMapper instances
> --------------------------------------------------------------
>
>                 Key: AVRO-1171
>                 URL: https://issues.apache.org/jira/browse/AVRO-1171
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.1
>            Reporter: Dave Beech
>            Priority: Minor
>         Attachments: AVRO-1171.patch
>
>
> The configure method is being called twice on each AvroMapper instance. 
> The first call is made via reflection, when the instance is created by ReflectionUtils,
and the second is made explicitly inside HadoopMapper. I think this second one could be safely
removed. 
> Ref:
> http://mail-archives.apache.org/mod_mbox/avro-user/201209.mbox/%3CCAFZSZPuM10yoBvP897ytT5PpAbv-gGFzsvE-kUn-Ue9p4SUJuQ%40mail.gmail.com%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message