Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # dev >> The lease hard limit is 1 hour and in another client want to append to a file need to wait for 1 hour?


+
Yanbo Liang 2012-10-18, 08:44
+
Uma Maheswara Rao G 2012-10-18, 09:17
+
Yanbo Liang 2012-10-18, 09:47
Copy link to this message
-
Re: The lease hard limit is 1 hour and in another client want to append to a file need to wait for 1 hour?
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 <[EMAIL PROTECTED]> 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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB