[ https://issues.apache.org/jira/browse/HDFS-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857575#action_12857575 ]
Konstantin Shvachko commented on HDFS-966: ------------------------------------------ I don't think there is. Looking in the code, we currently let lease recovery during startup, but we probably never hit it, because the hard limit is reset to 1 hour, and the name-node is likely to leave safe mode before it expires. +1 for the patch. > 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