hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vaibhav Puranik <vpura...@gmail.com>
Subject Re: A region full of data is missing
Date Tue, 10 Nov 2009 22:11:12 GMT
Stack,

I tried doing HBaseAdmin.closeRegion with the binary region name.

It closed the region and reopened it. But we still can not access the data.

I guess trying to read it back from the data file is the only option left,
right?

Regards,
Vaibhav

On Tue, Nov 10, 2009 at 12:56 PM, stack <stack@duboce.net> wrote:

> On Mon, Nov 9, 2009 at 6:40 PM, Vaibhav Puranik <vpuranik@gmail.com>
> wrote:
>
> >  Does that mean the region is
> > open and needs to be closed?
> >
> > It means region should be open... especially if its the message the
> regionserver is passing back to the Master reporting successful open.
>  Maybe
> check the regionserver log to see if anything happened with the region
> subsequently?
>
>
>
> > All the other regions seems to have one file in their data directory.
> This
> > region has two files in its data directory.
> > Is that right?
> >
>
> Over time, varies.  These are the files that carry the data.  When number
> hits a threshold, they are compacted into one file.
>
> So, did close work?
>
> If not, you can find the region in the fileystem?  If so, if any good w/
> ruby, see the add_table.rb script in head of the 0.20 branch.  See how it
> can read a region and add an entry for it to .META.  You might be able to
> hack it up to do the one region if the close doesn't work.
>
> St.Ack
>

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