You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2012/05/30 22:20:23 UTC

[jira] [Updated] (HDFS-3479) backport HDFS-3335 (check for edit log corruption at the end of the log) to branch-1

     [ https://issues.apache.org/jira/browse/HDFS-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Patrick McCabe updated HDFS-3479:
---------------------------------------

    Attachment: HDFS-3335-b1.005.patch

* fix the way we do pre-allocation (formerly, we were creating sparse files in branch-1, not actually reserving the space we thought we were.)

* an OP_INVALID is now an error unless:
1. it appears in the last 2 MB of the file
or
2. it is followed only by 0x0 and 0xff bytes, until the end of the file.
                
> backport HDFS-3335 (check for edit log corruption at the end of the log) to branch-1
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-3479
>                 URL: https://issues.apache.org/jira/browse/HDFS-3479
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HDFS-3335-b1.005.patch
>
>
> backport HDFS-3335 (check for edit log corruption at the end of the log) to branch-1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira