hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: The lease hard limit is 1 hour and in another client want to append to a file need to wait for 1 hour?
Date Thu, 18 Oct 2012 09:13:34 GMT
Hi Yanbo,

Clients can request a quicker lease recovery, via
DistributedFileSystem.recoverLease(Path f), as seen at
(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 <yanbohappy@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

View raw message