Hi Yanbo,

Clients can request a quicker lease recovery, via
DistributedFileSystem.recoverLease(Path f), as seen at
http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java?view=markup
(Line 236~). This is what HBase relies on when trying to open WAL
files for recovery.

Does this help?

On Thu, Oct 18, 2012 at 2:14 PM, Yanbo Liang <yanboha...@gmail.com> wrote:
> The lease hard limit is 1 hour,
> is it means that if one file hold the lease and exit without release it and
> then another file want to append to the same file will to wait for a hour?



-- 
Harsh J

Reply via email to