hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinay (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-10071) under construction files deletion after snapshot+checkpoint+nn restart leads nn safemode
Date Fri, 25 Oct 2013 12:01:32 GMT
Vinay created HADOOP-10071:
------------------------------

             Summary: under construction files deletion after snapshot+checkpoint+nn restart
leads nn safemode
                 Key: HADOOP-10071
                 URL: https://issues.apache.org/jira/browse/HADOOP-10071
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Vinay


1. allow snapshots under dir /foo
2. create a file /foo/test/bar and start writing to it
3. create a snapshot s1 under /foo after block is allocated and some data has been written
to it
4. Delete the directory /foo/test
4. wait till checkpoint or do saveNameSpace
5. restart NN.

NN enters to safemode.

Analysis:
Snapshot nodes loaded from fsimage are always complete and all blocks will be in COMPLETE
state. 
So when the Datanode reports RBW blocks those will not be updated in blocksmap.
Some of the FINALIZED blocks will be marked as corrupt due to length mismatch.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message