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 "Todd Lipcon (Created) (JIRA)" <ji...@apache.org> on 2012/02/01 20:40:58 UTC
[jira] [Created] (HDFS-2873) Add sanity check during image/edit
loading that blocks aren't doubly referenced
Add sanity check during image/edit loading that blocks aren't doubly referenced
-------------------------------------------------------------------------------
Key: HDFS-2873
URL: https://issues.apache.org/jira/browse/HDFS-2873
Project: Hadoop HDFS
Issue Type: Improvement
Components: name-node
Reporter: Todd Lipcon
We recently had an incident where an invalid image was accidentally fed into a NN. This image had property that multiple inodes referred to the same set of blocks -- as if there were hard links, but without any reference counting mechanisms. The NN happily loaded this, but of course it later caused problems when one of the inodes was deleted. We should be able to add a sanity check when replaying OP_ADD that, if the blocks already exist in the system, they are referenced by the same inode in that OP_ADD.
--
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