Yes, I am using hbase to manage zookeeper ensemble. Zookeeper logs does not show any issues. I can see HQuorumPeer running (just have one node in the ensemble)
Thanks, Mejo > Date: Mon, 30 Jun 2014 10:00:55 -0700 > Subject: Re: issue with hbase upgrade from 0.94.6-cdh4.3.0 to apache > hbase-0.98.2-hadoop2 > From: [email protected] > To: [email protected] > > For step #1, you used hbase-daemon.sh to start zookeeper. > Are you using hbase to manage zookeeper ensemble ? > > The error you encountered was due to the following check in > TableNamespaceManager > : > > if (!MetaReader.tableExists(masterServices.getCatalogTracker(), > > TableName.NAMESPACE_TABLE_NAME)) { > > LOG.info("Namespace table not found. Creating..."); > > createNamespaceTable(masterServices); > > Looks like the cause was related to zookeeper. > > Cheers > > > On Mon, Jun 30, 2014 at 9:56 AM, Mejo Tom <[email protected]> wrote: > > > > > Hi, > > 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. > > > > Details: > > > > 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 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: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: > > ./start-hbase.sh > > > > Regards, > > Mejo > >
