hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-3418) NameNode does not restart if parent directory of a "FileUnderConstruction" is deleted.
Date Tue, 20 May 2008 03:06:55 GMT
NameNode does not restart if parent directory of a "FileUnderConstruction" is deleted.
--------------------------------------------------------------------------------------

                 Key: HADOOP-3418
                 URL: https://issues.apache.org/jira/browse/HADOOP-3418
             Project: Hadoop Core
          Issue Type: Bug
          Components: dfs
            Reporter: Raghu Angadi


How to reproduce :

{{$ bin/hadoop fs -put largeFile tmp/tmpFile}}
...before this finishes
{{$ bin/hadoop fs -rmr tmp}}
Now restart NameNode.
Restart fails with :
{noformat}
2008-05-20 02:21:34,731 ERROR org.apache.hadoop.dfs.NameNode: java.io.IOException: saveLeases
found path /user/rangadi/tmp/tmpFile but no matching entry in namespace.
        at org.apache.hadoop.dfs.FSNamesystem.saveFilesUnderConstruction(FSNamesystem.java:4215)
        at org.apache.hadoop.dfs.FSImage.saveFSImage(FSImage.java:848)
        at org.apache.hadoop.dfs.FSImage.saveFSImage(FSImage.java:866)
        at org.apache.hadoop.dfs.FSDirectory.loadFSImage(FSDirectory.java:82)
        at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:273)
        at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:253)
        at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:148)
        at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:193)
        at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:179)
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message