Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8F8962009C6 for ; Tue, 31 May 2016 19:27:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8DFD8160A46; Tue, 31 May 2016 17:27:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0842E1609AD for ; Tue, 31 May 2016 19:27:13 +0200 (CEST) Received: (qmail 55747 invoked by uid 500); 31 May 2016 17:27:13 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 55721 invoked by uid 99); 31 May 2016 17:27:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2016 17:27:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EF7B72C1F62 for ; Tue, 31 May 2016 17:27:12 +0000 (UTC) Date: Tue, 31 May 2016 17:27:12 +0000 (UTC) From: "Illes S (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-13214) sync(0); next(); yields wrong key-values on block-compressed files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 31 May 2016 17:27:14 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Illes S updated HADOOP-13214: ----------------------------- Attachment: HADOOP-13214.2.patch Added unit tests for the issue being fixed. > sync(0); next(); yields wrong key-values on block-compressed files > ------------------------------------------------------------------ > > Key: HADOOP-13214 > URL: https://issues.apache.org/jira/browse/HADOOP-13214 > Project: Hadoop Common > Issue Type: Bug > Components: io > Reporter: Illes S > Labels: easyfix, newbie > Attachments: HADOOP-13214.2.patch, HADOOP-13214.patch > > > Calling {{sync(0); next(...);}} on a block-compressed {{SequenceFileReader}} that has already been used may not yield the key-values at the beginning, but those following the previous position. The issue is caused by {{sync(0)}} not releasing previously buffered keys and values. The issue was introduced by HADOOP-6196 -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org