You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2015/06/11 23:06:01 UTC

[jira] [Commented] (HDFS-8576) Lease recovery returns false , eventhough recovery happens.

    [ 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)