hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qiang Tian <tian...@gmail.com>
Subject Re: delete a row in hbase:meta
Date Mon, 28 Jul 2014 05:00:05 GMT
Thanks Ted,
An user on 0.96 deletes a table region on HDFS by mistake, so he wants to
delete the entire table and recreate it. after disable&drop, he finds the
table's region info still exists in meta table..

from the code, we should be able to delete the related info during table
drop, I suspect the startRow(<tablename>,,) in getTableStartRowForMeta
might not be correct?

ps could hbck tool could fix it? (he deleted it finally via java code, will
see if we could repro it...)



On Mon, Jul 28, 2014 at 12:05 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> Deleting from hbase:meta is for advanced users :-)
>
> Can you tell us why that row needs to be deleted ?
>
> Cheers
>
>
> On Sun, Jul 27, 2014 at 8:32 PM, Qiang Tian <tianq01@gmail.com> wrote:
>
> > Hi Guys,
> >
> > for a row in hbase:meta like below, how to delete it? due to the chars of
> > startkey,  it cannot be found.
> > delete
> >
> >
> 'hbase:meta','moma,\x00"\x00\x00\x00\x012+\xF8\xCB\xF0,1406468625503.6936ebd2ae1d85fc09f243a767229339.','info:seqnumDuringOpen'
> >
> > ERROR: Row Not Found
> >
> > thanks!
> >
>

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