[ https://issues.apache.org/jira/browse/HDFS-8576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587392#comment-14587392 ]
J.Andreina commented on HDFS-8576: ---------------------------------- Thanks [~szetszwo] for the commit. > 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)