hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stack <st...@duboce.net>
Subject Re: A region full of data is missing
Date Tue, 10 Nov 2009 22:28:50 GMT
You couldn't run the shell?

So, region closed and opened somewhere else?  Open on another regionserver
and you still can't get data out of it?

St.Ack


On Tue, Nov 10, 2009 at 2:11 PM, Vaibhav Puranik <vpuranik@gmail.com> wrote:

> 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