- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
HMaster not starting -- TableExistsException
- Labels:
-
Apache HBase
Created on ‎04-29-2014 07:27 AM - edited ‎09-16-2022 01:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I found out that for this exception :
Unhandled exception. Starting shutdown. org.apache.hadoop.hbase.TableExistsException: hbase:namespace at org.apache.hadoop.hbase.master.handler.CreateTableHandler.prepare(CreateTableHandler.java:120) at org.apache.hadoop.hbase.master.TableNamespaceManager.createNamespaceTable(TableNamespaceManager.java:230) at org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:85) at org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1059) at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:920) at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:606) at java.lang.Thread.run(Thread.java:744)
I need to clean the /habse in zookeper but I didn't find it. I didn't find how to remove a ZNODE, is it located in the HDFS ?
Found some clue here :
http://web.archiveorange.com/archive/v/WCpTuGEshqKoq2ZC4X3L
(For the record, I got this error after deleting all services and reinstalling them one by one).
Thanks for your help 🙂
Lefevre Kevin
Created ‎04-29-2014 08:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You can access ZooKeeper via several methods, but the easiest is to use the 'hbase zkcli' command from one of the servers running an HBase service. Once in the ZooKeeper CLI, you can run 'rmr /hbase' to remove the znode.
As you have found, this is a necessary step if you are removing and reinstalling HBase using the same ZooKeeper.
Created ‎04-29-2014 08:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You can access ZooKeeper via several methods, but the easiest is to use the 'hbase zkcli' command from one of the servers running an HBase service. Once in the ZooKeeper CLI, you can run 'rmr /hbase' to remove the znode.
As you have found, this is a necessary step if you are removing and reinstalling HBase using the same ZooKeeper.
