hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-2873) Add sanity check during image/edit loading that blocks aren't doubly referenced
Date Wed, 01 Feb 2012 19:40:58 GMT
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

        

Mime
View raw message