[
https://issues.apache.org/jira/browse/HADOOP-4957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659902#action_12659902
]
Tsz Wo (Nicholas), SZE commented on HADOOP-4957:
------------------------------------------------
>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.
But HADOOP-4951 happened because there was a bug in the code. Are you saying
that we should let the monitor run even there is a bug in it?
> we should check other name-node monitors to do the same thing; better create
> a base class for monitors implementing this logic.
Took a quick look, FSNamesystem.SafeModeMonitor is not doing the thing you
described.
> 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.