[
https://issues.apache.org/jira/browse/HDFS-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kihwal Lee updated HDFS-3922:
-----------------------------
Status: Patch Available (was: Open)
> 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.20.203.0, 0.22.1
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Priority: Critical
> 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