[
https://issues.apache.org/jira/browse/HDFS-8576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo Nicholas Sze updated HDFS-8576:
--------------------------------------
Resolution: Fixed
Fix Version/s: 2.7.1
Status: Resolved (was: Patch Available)
I have committed this. Thanks, J.Andreina!
> Lease recovery should return true if the lease can be released and the file
> can be closed
> ------------------------------------------------------------------------------------------
>
> Key: HDFS-8576
> URL: https://issues.apache.org/jira/browse/HDFS-8576
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Reporter: J.Andreina
> Assignee: J.Andreina
> Fix For: 2.7.1
>
> Attachments: HDFS-8576.1.patch, HDFS-8576.2.patch
>
>
> FSNamesystem#recoverLease , returns false eventhough lease recover happens.
> Hence only on second retry for recovering lease on a file ,returns success
> after checking if the file is not underconstruction.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)