hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laxman <lakshman...@huawei.com>
Subject FW: Handling read failures during recovery
Date Mon, 01 Aug 2011 11:48:28 GMT
Reposting to include HDFS dev list.



From: Laxman [mailto:lakshman_ch@huawei.com] 
Sent: Monday, August 01, 2011 5:03 PM
To: 'dev@hbase.apache.org'
Subject: Handling read failures during recovery


Hi Everyone,


In HBase we try to recover the HLog file and then immediately proceed with
read operation.

As the recovery is an asynchronous operation recoverLease call will return
immediately and may end up with read failure as the recovery is in progress.

This may lead to some regions to be in offline state only.


One approach is to introduce a delay in between recovery and read. But, this
may not be a fool proof way to address this.


How do we handle this scenario? 


Please do correct me if my understanding went wrong.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message