[
https://issues.apache.org/jira/browse/HDFS-8576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo Nicholas Sze updated HDFS-8576:
--------------------------------------
Component/s: namenode
Summary: Lease recovery should return true if the lease can be
released and the file can be closed (was: Lease recovery returns false ,
eventhough recovery happens.)
Hadoop Flags: Reviewed
+1 the new patch looks good.
(revised Summary)
> 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
> 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)