Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 76889 invoked from network); 5 Sep 2009 23:37:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Sep 2009 23:37:21 -0000 Received: (qmail 85046 invoked by uid 500); 5 Sep 2009 23:37:20 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 84978 invoked by uid 500); 5 Sep 2009 23:37:20 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 84893 invoked by uid 99); 5 Sep 2009 23:37:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 23:37:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 23:37:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 826E1234C051 for ; Sat, 5 Sep 2009 16:36:57 -0700 (PDT) Message-ID: <794068487.1252193817504.JavaMail.jira@brutus> Date: Sat, 5 Sep 2009 16:36:57 -0700 (PDT) From: "Chris Douglas (JIRA)" To: common-dev@hadoop.apache.org Subject: [jira] Reopened: (HADOOP-6196) sync(0); next() breaks SequenceFile In-Reply-To: <1557218490.1250413814794.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-6196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Douglas reopened HADOOP-6196: ----------------------------------- No patch fixing this issue has been integrated into 0.21, yet; a committer needs to review and approve the patch before it can be pushed to the repository and we can resolve the issue as "fixed." I'm reopening the issue and marking it "patch available" again. Considering the pain of writing incompatible SequenceFiles, I'm leaning away from bumping the version and just going with the compatible change to the reader. If the modified Reader approach seems hackish or I'm overestimating the pain of bumping the version, I'm open to the alternate strategy, but unless we have formats that call sync(0) regularly it seems like a reasonable workaround. > sync(0); next() breaks SequenceFile > ----------------------------------- > > Key: HADOOP-6196 > URL: https://issues.apache.org/jira/browse/HADOOP-6196 > Project: Hadoop Common > Issue Type: Bug > Reporter: Jay Booth > Assignee: Jay Booth > Fix For: 0.21.0 > > Attachments: C6196-0.patch, C6196-test.patch, hadoop-6196-multipatch.txt, sync-bug.patch > > > Currently, the end of the SequenceFile header is a sync block that isn't prefaced with SYNC_ESCAPE. This means that sync(0) followed by next() fails. Patch w/ test attached, bumps VERSION from 6 to 7. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.