You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/04/25 22:02:17 UTC

[jira] [Updated] (CRUNCH-382) AvroType#getDetachedValue does not work correctly for byte[]

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

Gabriel Reid updated CRUNCH-382:
--------------------------------

    Attachment: CRUNCH-382.patch

Patch to resolve the issue, will commit shortly.

> AvroType#getDetachedValue does not work correctly for byte[]
> ------------------------------------------------------------
>
>                 Key: CRUNCH-382
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-382
>             Project: Crunch
>          Issue Type: Bug
>            Reporter: Gabriel Reid
>            Assignee: Gabriel Reid
>         Attachments: CRUNCH-382.patch
>
>
> A NoOpDeepCopier is currently used for getting detached ByteBuffer values in Avro. However, ByteBuffers are reused in Avro, meaning that object reuse bugs can still be present even if PType#getDetachedValue is called on a byte[] value.



--
This message was sent by Atlassian JIRA
(v6.2#6252)