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'
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:
there are 2 rowkeys: moma,,1406539662740.c0a589ce74c8bad980d16947fdf56036. moma,\x00"\x00\x00\x00\x012+\xF8\xCB\xF0,1406468625503.6936ebd2ae1d85fc09f243a767229339.
the first was deleted via drop 'moma' command, the second cannot. it looks during delete table, we look up "info:regioninfo" in meta to locate the related regions, since the second has no "info:regioninfo" column, it is ignored by hbase?
further investigation shows the 2 regions are just after split(info:seqnumDuringOpen=1), but it looks updating meta during split should have updated those info...
thanks. On Mon, Jul 28, 2014 at 1:28 PM, Ted Yu <[EMAIL PROTECTED]> wrote:
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by Sematext