[
https://issues.apache.org/jira/browse/HDFS-8576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587834#comment-14587834
]
Hudson commented on HDFS-8576:
------------------------------
FAILURE: Integrated in Hadoop-Yarn-trunk #960 (See
[https://builds.apache.org/job/Hadoop-Yarn-trunk/960/])
HDFS-8576. Lease recovery should return true if the lease can be released and
the file can be closed. Contributed by J.Andreina (szetszwo: rev
2cb09e98e392feb5732d0754b539240094edc37a)
*
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestLeaseRecovery.java
*
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
> 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)