[
https://issues.apache.org/jira/browse/HDFS-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Yu resolved HDFS-4724.
--------------------------
Resolution: Duplicate
Duplicate of HDFS-4525
> 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