You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2011/01/10 20:04:47 UTC
[jira] Resolved: (HDFS-1554) New semantics for recoverLease
[ https://issues.apache.org/jira/browse/HDFS-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hairong Kuang resolved HDFS-1554.
---------------------------------
Resolution: Fixed
Release Note: Change recoverLease API to return if the file is closed or not. It also change the semantics of recoverLease to start lease recovery immediately.
Hadoop Flags: [Incompatible change, Reviewed]
I've committed this. Thank Dhruba for reviewing the patch.
> New semantics for recoverLease
> ------------------------------
>
> Key: HDFS-1554
> URL: https://issues.apache.org/jira/browse/HDFS-1554
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Fix For: 0.20-append, 0.22.0, 0.23.0
>
> Attachments: appendRecoverLease.patch, appendRecoverLease1.patch
>
>
> Current recoverLease API implemented in append 0.20 aims to provide a lighter weight (comparing to using create/append) way to trigger a file's soft lease expiration. From both the use case of hbase and scribe, it could have a stronger semantics: revoking the file's lease, thus starting lease recovery immediately.
> Also I'd like to port this recoverLease API to HDFS 0.22 and trunk since HBase is moving to HDFS 0.22.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.