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

Konstantin Shvachko commented on HADOOP-4957:
---------------------------------------------

I propose:
# lease monitor should catch all exceptions log an error and continue to run 
until name-node is running;
# lease monitor should loop until the name-node is {{FSNamesystem.fsRunning}};
# we should check other name-node monitors to do the same thing; better create 
a base class for monitors implementing this logic.
# we should also take care of the of converting FileUnderConstruction into real 
files as stated in
https://issues.apache.org/jira/browse/HADOOP-4795?focusedCommentId=12655006#action_12655006

> Lease monitor should not fail on a live name-node.
> --------------------------------------------------
>
>                 Key: HADOOP-4957
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4957
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.18.3
>            Reporter: Konstantin Shvachko
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.20.0
>
>
> If a runtime exception is thrown inside the lease monitor, as it happened in 
> HADOOP-4951, the monitor will die although the name-node will continue to 
> run. The problem is that abandoned files will not be garbage collected.

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

Reply via email to