hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3418) NameNode does not restart if parent directory of a "FileUnderConstruction" is deleted.
Date Tue, 10 Jun 2008 22:03:45 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604058#action_12604058
] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3418:
------------------------------------------------

The problem does not appear in 0.17, which could pass the new test in the patch.

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: 3418_20080609.patch, 3418_20080609b.patch, 3418_20080610.patch
>
>
> 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