crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reid (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CRUNCH-382) AvroType#getDetachedValue does not work correctly for byte[]
Date Fri, 25 Apr 2014 20:41:17 GMT

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

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

    Attachment: CRUNCH-382b.patch

Updated patch to handle oversized buffers as used sometimes in Avro.

> 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, CRUNCH-382b.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)

Mime
View raw message