码迷,mamicode.com
首页 > 编程语言 > 详细

org.apache.hadoop.hbase.master.HMasterCommandLine: Master exiting java.lang.RuntimeException: HMaster Aborted

时间:2014-06-26 21:41:53      阅读:829      评论:0      收藏:0      [点我收藏+]

标签:style   class   blog   code   java   tar   


前一篇的问题解决了,是 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 directory 2014-06-25 13:42:07,863 WARN org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Node /hbase/backup-masters/localhost,60000,1403674927101 a lready deleted, and this is not a retry 2014-06-25 13:42:07,863 INFO org.apache.hadoop.hbase.master.ActiveMasterManager: Master=localhost,60000,1403674927101 2014-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: Aborting 2014-06-25 13:42:08,122 DEBUG org.apache.hadoop.hbase.master.HMaster: Stopping service threads 2014-06-25 13:42:08,122 INFO org.apache.hadoop.ipc.HBaseServer: Stopping server on 60000 2014-06-25 13:42:08,122 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 0 on 60000: exiting 2014-06-25 13:42:08,122 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 0 on 60000: exiting 2014-06-25 13:42:08,122 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 3 on 60000: exiting 2014-06-25 13:42:08,122 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 1 on 60000: exiting 2014-06-25 13:42:08,123 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server listener on 60000 2014-06-25 13:42:08,125 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 2 on 60000: exiting 2014-06-25 13:42:08,127 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 4 on 60000: exiting 2014-06-25 13:42:08,127 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 5 on 60000: exiting 2014-06-25 13:42:08,127 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 6 on 60000: exiting 2014-06-25 13:42:08,131 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 7 on 60000: exiting 2014-06-25 13:42:08,131 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 8 on 60000: exiting 2014-06-25 13:42:08,132 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 9 on 60000: exiting 2014-06-25 13:42:08,132 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 1 on 60000: exiting 2014-06-25 13:42:08,133 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 2 on 60000: exiting 2014-06-25 13:42:08,127 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server Responder 2014-06-25 13:42:08,133 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server Responder 2014-06-25 13:42:08,181 INFO org.apache.zookeeper.ZooKeeper: Session: 0x146d17f86130003 closed 2014-06-25 13:42:08,182 INFO org.apache.hadoop.hbase.master.HMaster: HMaster main thread exiting 2014-06-25 13:42:08,182 ERROR org.apache.hadoop.hbase.master.HMasterCommandLine: Master exiting 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: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

 

org.apache.hadoop.hbase.master.HMasterCommandLine: Master exiting java.lang.RuntimeException: HMaster Aborted,布布扣,bubuko.com

org.apache.hadoop.hbase.master.HMasterCommandLine: Master exiting java.lang.RuntimeException: HMaster Aborted

标签:style   class   blog   code   java   tar   

原文地址:http://www.cnblogs.com/zhanggl/p/3807951.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!