Using hbck is recommended for such scenario. 

Did you look at master / region server logs to see if there is some clue during 
table drop operation ?

Cheers

On Jul 27, 2014, at 10:00 PM, Qiang Tian <[email protected]> wrote:

> 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 <[email protected]> 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 <[email protected]> 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!
>> 

Reply via email to