搭建环境hadoop2.2.0 hbase0.94.14hbase0.94.14是根据官方资料自己编译的,但是hbase不能启动,查看日志发现:
WARN org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Node /hbase/backup-masters/master,60000,1387446151679 already deleted, and this is not a retry
2013-12-19 17:42:33,547 INFO org.apache.hadoop.hbase.master.ActiveMasterManager: Master=master,60000,1387446151679
2013-12-19 17:42:34,388 INFO org.apache.hadoop.conf.Configuration.deprecation: fs.default.name is deprecated. Instead, use fs.defaultFS
2013-12-19 17:42:34,393 INFO org.apache.hadoop.hbase.master.SplitLogManager: timeout = 300000
2013-12-19 17:42:34,393 INFO org.apache.hadoop.hbase.master.SplitLogManager: unassigned timeout = 180000
2013-12-19 17:42:34,393 INFO org.apache.hadoop.hbase.master.SplitLogManager: resubmit threshold = 3
2013-12-19 17:42:34,403 INFO org.apache.hadoop.hbase.master.SplitLogManager: found 0 orphan tasks and 0 rescan nodes
2013-12-19 17:42:34,708 INFO org.apache.hadoop.conf.Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2013-12-19 17:42:35,086 DEBUG org.apache.hadoop.hbase.catalog.CatalogTracker: Starting catalog tracker org.apache.hadoop.hbase.catalog.CatalogTracker@4f1adeb7
2013-12-19 17:42:35,110 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception. Starting shutdown.
java.lang.IllegalArgumentException: PBUF
at org.apache.hadoop.hbase.zookeeper.ZKTableReadOnly.getTableState(ZKTableReadOnly.java:152)
at org.apache.hadoop.hbase.zookeeper.ZKTable.getTableState(ZKTable.java:109)
at org.apache.hadoop.hbase.zookeeper.ZKTable.populateTableStates(ZKTable.java:94)
at org.apache.hadoop.hbase.zookeeper.ZKTable.<init>(ZKTable.java:80)
at org.apache.hadoop.hbase.master.AssignmentManager.<init>(AssignmentManager.java:223)
at org.apache.hadoop.hbase.master.HMaster.initializeZKBasedSystemTrackers(HMaster.java:505)
at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:589)
at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:432)
at java.lang.Thread.run(Thread.java:662)
2013-12-19 17:42:35,112 INFO org.apache.hadoop.hbase.master.HMaster: Aborting
2013-12-19 17:42:35,112 DEBUG org.apache.hadoop.hbase.catalog.CatalogTracker: Stopping catalog tracker org.apache.hadoop.hbase.catalog.CatalogTracker@4f1adeb7
2013-12-19 17:42:35,112 DEBUG org.apache.hadoop.hbase.master.HMaster: Stopping service threads
2013-12-19 17:42:35,112 INFO org.apache.hadoop.ipc.HBaseServer: Stopping server on 60000
2013-12-19 17:42:35,112 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 0 on 60000: exiting
2013-12-19 17:42:35,113 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 1 on 60000: exiting
2013-12-19 17:42:35,113 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 2 on 60000: exiting
2013-12-19 17:42:35,113 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 3 on 60000: exiting
2013-12-19 17:42:35,113 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 4 on 60000: exiting
2013-12-19 17:42:35,113 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 5 on 60000: exiting
2013-12-19 17:42:35,113 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 6 on 60000: exiting
2013-12-19 17:42:35,113 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 7 on 60000: exiting
2013-12-19 17:42:35,114 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 8 on 60000: exiting
2013-12-19 17:42:35,114 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 9 on 60000: exiting
2013-12-19 17:42:35,114 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 0 on 60000: exiting
2013-12-19 17:42:35,114 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 1 on 60000: exiting
2013-12-19 17:42:35,114 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 2 on 60000: exiting
2013-12-19 17:42:35,114 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server listener on 60000
2013-12-19 17:42:35,116 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server Responder
2013-12-19 17:42:35,116 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server Responder
2013-12-19 17:42:35,117 INFO org.apache.hadoop.hbase.master.HMaster: Stopping infoServer
2013-12-19 17:42:35,122 INFO org.mortbay.log: Stopped SelectChannelConnector@0.0.0.0:60010
2013-12-19 17:42:35,135 INFO org.apache.hadoop.hbase.master.SplitLogManager$TimeoutMonitor: master,60000,1387446151679.splitLogManagerTimeoutMonitor exiting
2013-12-19 17:42:35,142 INFO org.apache.zookeeper.ClientCnxn: EventThread shut down
2013-12-19 17:42:35,143 INFO org.apache.zookeeper.ZooKeeper: Session: 0x430a3bf0460000 closed
2013-12-19 17:42:35,143 INFO org.apache.hadoop.hbase.master.HMaster: HMaster main thread exiting
2013-12-19 17:42:35,143 ERROR org.apache.hadoop.hbase.master.HMasterCommandLine: Failed to start master
java.lang.RuntimeException: HMaster Aborted
at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:160)
at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:104)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76)
at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2120)
什么原因?是版本问题吗?
|