[
https://issues.apache.org/jira/browse/HDFS-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857169#action_12857169
]
dhruba borthakur commented on HDFS-966:
---------------------------------------
One motivation is that when the NameNode hot standby is running (i.e.
AvatarNode), then we have to ensure that the hot-standby is really-really a
standby and is not actively participating in making any modifications to HDFS
state.
when the NN starts, it starts off in safemode. We would not like to start lease
recovery when the namenode is in safemode. Typically, when you open the
NameNode for business by exiting safemode, we should start the lease recovery
of any unclosed files if required, isn't it?
> NameNode recovers lease even in safemode
> ----------------------------------------
>
> Key: HDFS-966
> URL: https://issues.apache.org/jira/browse/HDFS-966
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
> Attachments: leaseRecoverSafeMode.txt
>
>
> The NameNode recovers a lease even when it is in safemode.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira