hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (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 21:25:44 GMT

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

dhruba borthakur commented on HADOOP-3418:
------------------------------------------

I looked at the code and it looks good. +1. 

I wonder if this patch is needed for 0.17. It would be nice if you can run the unit test on
the 0.17 branch to determine if this bug exists in 0.17 as well.


> 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