[ 
https://issues.apache.org/jira/browse/HDFS-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638243#comment-13638243
 ] 

Enis Soztutar commented on HDFS-4724:
-------------------------------------

Now that HDFS-4525 is resolved, should we close this one as duplicate? 
                
> Provide API for checking whether lease is recovered or not
> ----------------------------------------------------------
>
>                 Key: HDFS-4724
>                 URL: https://issues.apache.org/jira/browse/HDFS-4724
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Ted Yu
>
> recoverLease() returns a boolean indicating whether file has been 
> successfully finalized and closed. In case false is returned, client should 
> use another API to query whether lease is recovered or not.
> Necessity for this new API stems from the fact that recoverLease() 
> unconditionally enqueues a block for recovery. So if client calls 
> recoverLease() continuously, previous recovery attempts would be preempted.
> See HBASE-8389 and HDFS-4721 for such scenario.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to