You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Kihwal Lee (JIRA)" <ji...@apache.org> on 2012/09/12 01:06:07 UTC
[jira] [Created] (HDFS-3922) 0.22 and 0.23 namenode throws away
blocks under construction on restart
Kihwal Lee created HDFS-3922:
--------------------------------
Summary: 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
Fix For: 0.22.1, 0.23.4
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