hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shumin Wu <shumin...@gmail.com>
Subject Problem with recreation of a phantom table
Date Tue, 02 Oct 2012 22:55:47 GMT

I am using HBase 0.92 and got stuck with deletion/recreation of a phantom
table. The table became "phantom" because hbase server went offline during
the first time when it got deleted. Since then I cannot recreate the table
because of the inconsistency catalog information.

Below is what I got from the hbase shell (I replaced the table name with a
fake name).

hbase(main):005:0> create 'phantom_table','cf'*

ERROR: Table already exists: phantom_table!

Here is some help for this command:
Create table; pass table name, a dictionary of specifications per
column family, and optionally a dictionary of table configuration.
Dictionaries are described below in the GENERAL NOTES section.

  hbase> create 't1', {NAME => 'f1', VERSIONS => 5}
  hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
  hbase> # The above in shorthand would be the following:
  hbase> create 't1', 'f1', 'f2', 'f3'
  hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000,
  hbase> create 't1', 'f1', {SPLITS => ['10', '20', '30', '40']}
  hbase> create 't1', 'f1', {SPLITS_FILE => 'splits.txt'}

hbase(main):006:0> disable 'phantom_table'*

ERROR: Table phantom_table does not exist.'

Here is some help for this command:
Start disable of named table: e.g. "hbase> disable 't1'"


Here are the attempts I already did for investigation.

- I did a fsck on /hbase. It reported healthy.

- I did a scan on .META.. The phantom table is not listed there.

- I checked zookeeper's hbase directory and found the phantom table. I
deleted the entry but the problem reported above still persistent.

Any comments or suggestions are highly appreciated!



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