hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mejo Tom <mejo_...@hotmail.com>
Subject issue with hbase upgrade from 0.94.6-cdh4.3.0 to apache hbase-0.98.2-hadoop2
Date Mon, 30 Jun 2014 16:56:09 GMT

I have a 6 node grid that I have upgraded from hadoop 2.0 to hadoop 2.4. I am facing issues
with hbase upgrade from 0.94.6-cdh4.3.0 to apache hbase-0.98.2-hadoop2. Appreciate any pointers
on how to resolve this issue.


After upgrade of hadoop 2.0 to hadoop 2.4, performed the below steps to upgrade hbase from
0.94.6-cdh4.3.0 to apache hbase-0.98.2-hadoop2. Upgrade logs shows Namespace upgrade, Znode
upgrade and Log splitting was successful. But HMaster gets aborted on startup.

HMaster gets aborted with the following exception:

2014-06-30 09:02:53,516 FATAL [master:qa01:60000] master.HMaster: Master server abort: loaded
coprocessors are: []
2014-06-30 09:02:53,517 FATAL [master:qa01:60000] master.HMaster: Unhandled exception. Starting
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:232)
        at org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:86)
        at org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1062)
        at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:926)
        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:615)
        at java.lang.Thread.run(Thread.java:662)
2014-06-30 09:02:53,644 ERROR [main] master.HMasterCommandLine: Master exiting
java.lang.RuntimeException: HMaster Aborted
        at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:192)
        at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:134)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
        at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2801)

Steps followed to upgrade hbase:

1. Start zookeeper 
On quorum node, execute below commands:
cd $HBASE_HOME/bin/
./hbase-daemon.sh start zookeeper

2. Upgrade hbase
On hbase master node, execute the upgrade command:
cd $HBASE_HOME/bin/
./hbase upgrade -execute

3. Stop zookeeper 
On quorum node, execute below commands:
cd $HBASE_HOME/bin/
./hbase-daemon.sh stop zookeeper

 4. Start hbase
On hbase master node, execute the below command:

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