首页 > 代码库 > org.apache.hadoop.hbase.master.HMasterCommandLine: Master exiting java.lang.RuntimeException: HMaster Aborted
org.apache.hadoop.hbase.master.HMasterCommandLine: Master exiting java.lang.RuntimeException: HMaster Aborted
前一篇的问题解决了,是 hbase 下面lib 包的jar问题,之前写MR的时候加错了包,替换掉了原来的包后出现另一问题:
@ubuntu:/home/hadoop/hbase-0.94.6-cdh4.5.0/bin$ ./start-hbase.sh
starting master, logging to /home/hadoop/hbase-0.94.6-cdh4.5.0/logs/hbase-master-ubuntu.out
localhost: starting regionserver, logging to /home/hadoop/hbase-0.94.6-cdh4.5.0/logs/hbase-regionserver-ubuntu.out
后 jps 进程没有出现HMaster进程。
错误日志:如下
74927101 from backup master directory2014-06-25 13:42:07,863 WARN org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Node /hbase/backup-masters/localhost,60000,1403674927101 already deleted, and this is not a retry2014-06-25 13:42:07,863 INFO org.apache.hadoop.hbase.master.ActiveMasterManager: Master=localhost,60000,14036749271012014-06-25 13:42:08,118 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception. Starting shutdown.org.apache.hadoop.ipc.RemoteException: Server IPC version 7 cannot communicate with client version 4 at org.apache.hadoop.ipc.Client.call(Client.java:1070) at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225) at com.sun.proxy.$Proxy10.getProtocolVersion(Unknown Source) at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396) at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:379) at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:119) at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:238) at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:203) at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1386) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1404) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254) at org.apache.hadoop.fs.Path.getFileSystem(Path.java:187) at org.apache.hadoop.hbase.util.FSUtils.getRootDir(FSUtils.java:666) at org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:98) at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:536) at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:396) at java.lang.Thread.run(Thread.java:744)2014-06-25 13:42:08,121 INFO org.apache.hadoop.hbase.master.HMaster: Aborting2014-06-25 13:42:08,122 DEBUG org.apache.hadoop.hbase.master.HMaster: Stopping service threads2014-06-25 13:42:08,122 INFO org.apache.hadoop.ipc.HBaseServer: Stopping server on 600002014-06-25 13:42:08,122 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 0 on 60000: exiting2014-06-25 13:42:08,122 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 0 on 60000: exiting2014-06-25 13:42:08,122 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 3 on 60000: exiting2014-06-25 13:42:08,122 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 1 on 60000: exiting2014-06-25 13:42:08,123 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server listener on 600002014-06-25 13:42:08,125 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 2 on 60000: exiting2014-06-25 13:42:08,127 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 4 on 60000: exiting2014-06-25 13:42:08,127 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 5 on 60000: exiting2014-06-25 13:42:08,127 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 6 on 60000: exiting2014-06-25 13:42:08,131 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 7 on 60000: exiting2014-06-25 13:42:08,131 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 8 on 60000: exiting2014-06-25 13:42:08,132 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 9 on 60000: exiting2014-06-25 13:42:08,132 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 1 on 60000: exiting2014-06-25 13:42:08,133 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 2 on 60000: exiting2014-06-25 13:42:08,127 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server Responder2014-06-25 13:42:08,133 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server Responder2014-06-25 13:42:08,181 INFO org.apache.zookeeper.ZooKeeper: Session: 0x146d17f86130003 closed2014-06-25 13:42:08,182 INFO org.apache.hadoop.hbase.master.HMaster: HMaster main thread exiting2014-06-25 13:42:08,182 ERROR org.apache.hadoop.hbase.master.HMasterCommandLine: Master exitingjava.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:65) at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76) at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1962)2014-06-25 13:42:08,182 INFO org.apache.zookeeper.ClientCnxn: EventThread shut down
解决办法还没找到:
网上说是版本的问题:
我的版本是cdh4.5
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。