In the process of playing around with HBase through the shell, I suddenly experienced a strange error. When I tried to create the table, I got an error that the table exists . When trying to delete, it complained that the table never existed.
I later realized that Zookeeper had an entry of the table . Below are the steps I followed to delete the entry from zookeper.
Start Zookeeper client . To do that, run hbase zkcli
From the prompt, i ran ls /hbase/table to see the list of tables
To delete the zombie table, I ran delete /hbase/table/{tablename}
I later realized that Zookeeper had an entry of the table . Below are the steps I followed to delete the entry from zookeper.
Start Zookeeper client . To do that, run hbase zkcli
From the prompt, i ran ls /hbase/table to see the list of tables
To delete the zombie table, I ran delete /hbase/table/{tablename}