[
https://issues.apache.org/jira/browse/HDFS-8576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14582515#comment-14582515
]
Tsz Wo Nicholas Sze commented on HDFS-8576:
-------------------------------------------
The javadoc says "@return true if the file is already closed".
What is the expected behavior in your mind?
> Lease recovery returns false , eventhough recovery happens.
> ------------------------------------------------------------
>
> Key: HDFS-8576
> URL: https://issues.apache.org/jira/browse/HDFS-8576
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: J.Andreina
> Assignee: J.Andreina
>
> 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)