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 0A651200ACB for ; Sun, 29 May 2016 20:00:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 089BB16099F; Sun, 29 May 2016 18:00:18 +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 46D16160A07 for ; Sun, 29 May 2016 20:00:17 +0200 (CEST) Received: (qmail 89913 invoked by uid 500); 29 May 2016 18:00:15 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 89539 invoked by uid 99); 29 May 2016 18:00:15 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 May 2016 18:00:15 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 402C82C1F5D for ; Sun, 29 May 2016 18:00:15 +0000 (UTC) Date: Sun, 29 May 2016 18:00:15 +0000 (UTC) From: "Illes S (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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: Sun, 29 May 2016 18:00:18 -0000 Illes S created HADOOP-13214: -------------------------------- Summary: 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 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-dev-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-dev-help@hadoop.apache.org