hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod Gupta Tankala <tvi...@readypulse.com>
Subject Re: Java client throws WrongRegionException but same key accessible via hbase shell
Date Tue, 27 Sep 2011 20:00:12 GMT
I was getting these errors even after restarting the client. So it probably
is not straightforward.
Also, I was able to run a combination of check_meta.rb and hbck with their
fix options and restore some of the inconsistencies. i still have 4
inconsistencies left (earlier it was 7) but check_meta thinks .META. is
fine. After i did this, I am not getting java client errors any more. Not
sure how to explain that.

Do you still want me to send the information you requested? may be you can
help with remaining inconsistencies.


On Tue, Sep 27, 2011 at 11:05 AM, Jean-Daniel Cryans <jdcryans@apache.org>wrote:

> Hi vinod,
> Yeah WREs are never fun, hopefully we can help you fixing it.
> First, about the difference when querying from the shell and your java
> client.
>  - Is it a long lived client? Did you restart it since you got the WREs?
>  - If not, this could just be due to the fact that it has a cache of
> regions that's different from what a new client would see.
>  - If you did restart it, then I would have to think a bit more about
> it to find the difference.
> Either way, it'd be nice to see what you're doing. We need;
>  - A full dump of your .META. (in the shell: scan '.META.'), please
> put this on a web server or a pastebin
>  - The keys you are trying to reach
>  - The exceptions you are seeing that contain the row keys and regions
> it's trying to reach
>  - Another thing that would be nice is to have the output of when you
> are reaching that row key from the shell, but with the shell started
> with the -d option (will show a lot more debug info).
>  - The master log of the day the exception started happening.
> J-D
> On Tue, Sep 27, 2011 at 7:57 AM, Vinod Gupta Tankala
> <tvinod@socialyantra.com> wrote:
> > I find this hard to believe. For the same row key, my java client is
> > throwing wrong region exception. But I can query the same using hbase
> shell.
> > Im on 0.90.2 version.
> >
> > Also note that I have inconsistencies in my regions that I am still
> trying
> > to figure out. But regardless, the inconsistencies should impact both
> > methods of querying similarly. right?
> >
> > thanks
> > vinod
> >

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