hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3922) 0.22 and 0.23 namenode throws away blocks under construction on restart
Date Thu, 27 Sep 2012 18:14:07 GMT

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

Daryn Sharp updated HDFS-3922:

       Resolution: Fixed
    Fix Version/s: 0.23.4
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

I've committed to branch-23.  Thanks Kihwal!

I'll let the branch-22 maintainers decide if they want to integrate this change.
> 0.22 and 0.23 namenode throws away blocks under construction on restart
> -----------------------------------------------------------------------
>                 Key: HDFS-3922
>                 URL: https://issues.apache.org/jira/browse/HDFS-3922
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.22.1, 0.23.3
>            Reporter: Kihwal Lee
>            Assignee: Kihwal Lee
>            Priority: Critical
>             Fix For: 0.23.4
>         Attachments: hdfs-3922.branch-023.patch.txt
> When reading edits on startup, namenode may throw away blocks under construction. This
is because the file inode is turned into a "under construction" one, but nothing is done to
the last block. 
> With append/hsync, this is not acceptable because it may drop sync'ed partial blocks.
 In branch 2 and trunk, HDFS-1623 (HA) fixed this issue.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message