hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laxman <lakshman...@huawei.com>
Subject RE: Handling read failures during recovery
Date Tue, 02 Aug 2011 04:54:24 GMT
20-append version we are using.

Here is the log


-----Original Message-----
From: Stack [mailto:saint.ack@gmail.com] 
Sent: Monday, August 01, 2011 9:03 PM
To: dev@hbase.apache.org
Cc: dev@hbase.apache.org
Subject: Re: Handling read failures during recovery

Which hdfs version and what is the error u see?  Thanks.

Stack



On Aug 1, 2011, at 4:33, Laxman <lakshman_ch@huawei.com> wrote:

> 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.
> 
> --Laxman
> 


Mime
View raw message