Hi all,

I am an HBASE newbie so I apologise if I am being repetitious.

Apologies also if this is not the right group. Am not sure if this may be more 
suited to 'dev' list.  However,

A problem question and a technical/wishlist question.

Problem:

I have inherited a problem with an HBASE table. The original issue may have 
erupted due to a network outage.  A table has 48 region in transition 
operations, stuck that way for several weeks.  A previous attempt to fix things 
with hbck failed. An attempt to DISABLE then DROP the table also failed. The 
four or five attempts to work the table ALSO now had stuck procedures.  
Subsequent DFS and ZOO operations left the situation where there was no data 
and no real table: just a 6K file in an empty structure.

When I got to the problem my knowledge of HBASE was nil. It is little better 
than that now but anyway...

Fortunately for me this is a testing/dev cluster. The 'owner' was content that 
the table can be removed - and appeared to have already been done...of a kind.

Reading and reading of others' similar issues lead me to the point I also was 
going to clean the HDFS data and ZK data for this table.  I shut down HBASE, 
cleaned HDFS and ZK node data, deleted the masterprocwals and restarted HBASE.

When all came up I was happy to see that the affected table appeared nowhere 
and that the procedures had all disappeared.

However, when I hopped to hbase master, even though no table of that name 
existed, 48 regions were still in transition.  Further research steered me 
toward hbase:meta and sure enough, the references to the RITs lived happily 
among other data for other tables.

The solution offered by hbase-operator-tools  - extraRegionsinMeta - offered 
hope.  Once again, however, another problem has surfaced: this tools command 
for extra regions is incompatible with the hbase version we are running.

So...

How can I remove the references to namespace:kaput_table from hbase:meta?

Technical:

Is there to be any implementation of such a fix within HBASe itself where table 
manipulation can be performed by Eg.,

delete hbase:meta namespace
delete hbase:meta  namespace:table

or even

scan hbase:meta filter = namespace:table | deleterow

or some such?

Thanks

M

Reply via email to