Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

ERROR WHILE STARTING HBASE_MASTER_TableExistsSxception and Loaded coprocessors

Solved Go to solution
Highlighted

ERROR WHILE STARTING HBASE_MASTER_TableExistsSxception and Loaded coprocessors

Contributor

I am getting an error in hbase while starting it in HDP. I am using HDP-2.3.2

2016-09-17 04:47:58,238 FATAL [master:hb-qa:60000] master.HMaster: Master server abort: loaded coprocessors are: [] 2016-09-17 04:47:58,239 FATAL [master:hb-qa:60000] master.HMaster: Unhandled exception. Starting shutdown. org.apache.hadoop.hbase.TableExistsException: hbase:namespace at org.apache.hadoop.hbase.master.handler.CreateTableHandler.prepare(CreateTableHandler.java:133) at org.apache.hadoop.hbase.master.TableNamespaceManager.createNamespaceTable(TableNamespaceManager.java:232) at org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:86) at org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1046) at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:925) at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:605) at java.lang.Thread.run(Thread.java:745)

Can someone help me with this?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: ERROR WHILE STARTING HBASE_MASTER_TableExistsSxception and Loaded coprocessors

Contributor

@ Nitin

ROOT CAUSE:- There should be a table named by namespace for maintaining the info of tables, which is already exists on /hbase directory , While starting the process HMaster it will create the namespace directory under /hbase directory So it is showing the Table Exists Exception. SOLUTION:- We have to manually repair the /hbase metastore by using offline command as, $HBASE_HOME/bin/hbase org.apache.hadoop.hbase.util.hbck.OfflineMetaRepair Then start the process of HMASTER. IF this is not working Use the zookeeper client for removing it as, From the Hbase docker or any one of the docker. zookeeper-3.4.6/bin/zkCli.sh -server 192.168.1.90 ls / rmr /hbase ls / exit zookeeper-3.4.6/bin/zkCli.sh -server 192.168.1.91 ls / exit

1 REPLY 1

Re: ERROR WHILE STARTING HBASE_MASTER_TableExistsSxception and Loaded coprocessors

Contributor

@ Nitin

ROOT CAUSE:- There should be a table named by namespace for maintaining the info of tables, which is already exists on /hbase directory , While starting the process HMaster it will create the namespace directory under /hbase directory So it is showing the Table Exists Exception. SOLUTION:- We have to manually repair the /hbase metastore by using offline command as, $HBASE_HOME/bin/hbase org.apache.hadoop.hbase.util.hbck.OfflineMetaRepair Then start the process of HMASTER. IF this is not working Use the zookeeper client for removing it as, From the Hbase docker or any one of the docker. zookeeper-3.4.6/bin/zkCli.sh -server 192.168.1.90 ls / rmr /hbase ls / exit zookeeper-3.4.6/bin/zkCli.sh -server 192.168.1.91 ls / exit

Don't have an account?
Coming from Hortonworks? Activate your account here