Return-Path: X-Original-To: apmail-crunch-dev-archive@www.apache.org Delivered-To: apmail-crunch-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A8C75FD93 for ; Fri, 25 Apr 2014 20:41:33 +0000 (UTC) Received: (qmail 94221 invoked by uid 500); 25 Apr 2014 20:41:20 -0000 Delivered-To: apmail-crunch-dev-archive@crunch.apache.org Received: (qmail 94106 invoked by uid 500); 25 Apr 2014 20:41:19 -0000 Mailing-List: contact dev-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@crunch.apache.org Delivered-To: mailing list dev@crunch.apache.org Received: (qmail 93985 invoked by uid 500); 25 Apr 2014 20:41:18 -0000 Delivered-To: apmail-incubator-crunch-dev@incubator.apache.org Received: (qmail 93954 invoked by uid 99); 25 Apr 2014 20:41:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 20:41:17 +0000 Date: Fri, 25 Apr 2014 20:41:17 +0000 (UTC) From: "Gabriel Reid (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CRUNCH-382) AvroType#getDetachedValue does not work correctly for byte[] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)