Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0113617C22 for ; Thu, 5 Mar 2015 05:19:39 +0000 (UTC) Received: (qmail 72651 invoked by uid 500); 5 Mar 2015 05:19:38 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 72532 invoked by uid 500); 5 Mar 2015 05:19:38 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 72268 invoked by uid 99); 5 Mar 2015 05:19:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 05:19:38 +0000 Date: Thu, 5 Mar 2015 05:19:38 +0000 (UTC) From: "Sean Busbey (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-11674) data corruption for parallel CryptoInputStream and CryptoOutputStream 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/HADOOP-11674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Busbey updated HADOOP-11674: --------------------------------- Status: Patch Available (was: In Progress) > data corruption for parallel CryptoInputStream and CryptoOutputStream > --------------------------------------------------------------------- > > Key: HADOOP-11674 > URL: https://issues.apache.org/jira/browse/HADOOP-11674 > Project: Hadoop Common > Issue Type: Bug > Components: io > Affects Versions: 2.6.0 > Reporter: Sean Busbey > Assignee: Sean Busbey > Priority: Critical > Attachments: HADOOP-11674.1.patch > > > A common optimization in the io classes for Input/Output Streams is to save a single length-1 byte array to use in single byte read/write calls. > CryptoInputStream and CryptoOutputStream both attempt to follow this practice but mistakenly mark the array as static. That means that only a single instance of each can be present in a JVM safely. -- This message was sent by Atlassian JIRA (v6.3.4#6332)