You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jay Booth (JIRA)" <ji...@apache.org> on 2009/09/01 03:49:32 UTC
[jira] Updated: (HADOOP-6196) sync(0); next() breaks SequenceFile
[ https://issues.apache.org/jira/browse/HADOOP-6196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jay Booth updated HADOOP-6196:
------------------------------
Attachment: hadoop-6196-multipatch.txt
I had an idea for the issue of needing JVM restart to duplicate the bug reliably, if I define 5 test cases calling a common method in the same file, it'll launch in a new JVM each time under Ant, right? I didn't see a way to run just 1 test under ant and the tests take all day to run on my machine, can anyone confirm?
Anyways, here's a new patch that attempts to run the test 5 times in different JVM instances.
> 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
> Attachments: 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.