分享

hbase与hadoop冲突

aqi915 发表于 2015-7-30 14:23:58 [显示全部楼层] 只看大图 回帖奖励 阅读模式 关闭右栏 3 10480
大虾好:       版本:hadoop-2.5.2与hbase-0.94.14安装出现问题,hadoop安装成功,hbase不成功,网上查好像jar 不兼容,但找不到具体的jar,报错如下
2015-07-30 12:24:26,397 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 0 on 60000: exiting
2015-07-30 12:24:26,398 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 1 on 60000: exiting
2015-07-30 12:24:26,398 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 2 on 60000: exiting
2015-07-30 12:24:26,398 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 3 on 60000: exiting
2015-07-30 12:24:26,398 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 4 on 60000: exiting
2015-07-30 12:24:26,398 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 5 on 60000: exiting
2015-07-30 12:24:26,399 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 6 on 60000: exiting
2015-07-30 12:24:26,399 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 7 on 60000: exiting
2015-07-30 12:24:26,399 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 8 on 60000: exiting
2015-07-30 12:24:26,399 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 9 on 60000: exiting
2015-07-30 12:24:26,399 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 0 on 60000: exiting
2015-07-30 12:24:26,400 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 1 on 60000: exiting
2015-07-30 12:24:26,400 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 2 on 60000: exiting
2015-07-30 12:24:26,400 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server listener on 60000
2015-07-30 12:24:26,402 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server Responder
2015-07-30 12:24:26,402 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server Responder
2015-07-30 12:24:26,402 INFO org.apache.hadoop.hbase.master.HMaster: Stopping infoServer
2015-07-30 12:24:26,414 INFO org.mortbay.log: Stopped SelectChannelConnector@0.0.0.0:60010
2015-07-30 12:24:26,427 INFO org.apache.zookeeper.ClientCnxn: EventThread shut down
2015-07-30 12:24:26,428 INFO org.apache.zookeeper.ZooKeeper: Session: 0x14edd34219b0004 closed
2015-07-30 12:24:26,428 INFO org.apache.hadoop.hbase.master.HMaster: HMaster main thread exiting
2015-07-30 12:24:26,428 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:65)
        at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76)
        at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2120)
                                                                                                                        1788,2-9      Bot
2015-07-30 12:24:26,159 INFO org.apache.hadoop.hbase.master.ActiveMasterManager: Master=ktbigdata1,60000,1438230249940
2015-07-30 12:24:26,397 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception. Starting shutdown.
org.apache.hadoop.ipc.RemoteException: Server IPC version 9 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.$Proxy8.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:112)
        at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:573)
        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:432)
        at java.lang.Thread.run(Thread.java:745)
2015-07-30 12:24:26,397 INFO org.apache.hadoop.hbase.master.HMaster: Aborting
2015-07-30 12:24:26,397 DEBUG org.apache.hadoop.hbase.master.HMaster: Stopping service threads
2015-07-30 12:24:26,397 INFO org.apache.hadoop.ipc.HBaseServer: Stopping server on 60000
2015-07-30 12:24:26,397 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 0 on 60000: exiting
2015-07-30 12:24:26,398 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 1 on 60000: exiting
2015-07-30 12:24:26,398 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 2 on 60000: exiting
2015-07-30 12:24:26,398 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 3 on 60000: exiting
2015-07-30 12:24:26,398 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 4 on 60000: exiting
2015-07-30 12:24:26,398 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 5 on 60000: exiting
2015-07-30 12:24:26,399 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 6 on 60000: exiting
2015-07-30 12:24:26,399 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 7 on 60000: exiting
2015-07-30 12:24:26,399 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 8 on 60000: exiting
2015-07-30 12:24:26,399 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 9 on 60000: exiting
2015-07-30 12:24:26,399 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 0 on 60000: exiting
2015-07-30 12:24:26,400 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 1 on 60000: exiting
2015-07-30 12:24:26,400 INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler 2 on 60000: exiting
2015-07-30 12:24:26,400 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server listener on 60000
2015-07-30 12:24:26,402 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server Responder
2015-07-30 12:24:26,402 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server Responder
2015-07-30 12:24:26,402 INFO org.apache.hadoop.hbase.master.HMaster: Stopping infoServer
2015-07-30 12:24:26,414 INFO org.mortbay.log: Stopped SelectChannelConnector@0.0.0.0:60010
2015-07-30 12:24:26,427 INFO org.apache.zookeeper.ClientCnxn: EventThread shut down
2015-07-30 12:24:26,428 INFO org.apache.zookeeper.ZooKeeper: Session: 0x14edd34219b0004 closed
2015-07-30 12:24:26,428 INFO org.apache.hadoop.hbase.master.HMaster: HMaster main thread exiting
2015-07-30 12:24:26,428 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:65)
        at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76)
        at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2120)


这要怎么整呢,能给出具体点的么?

已有(3)人评论

跳转到指定楼层
Alkaloid0515 发表于 2015-7-30 16:48:35
回复

使用道具 举报

aqi915 发表于 2015-7-30 19:09:08

换成HBase 0.98.13 原因成这样了




2015-07-30 19:02:18,252 INFO  [main] util.VersionInfo: HBase 0.98.13-hadoop2
2015-07-30 19:02:18,252 INFO  [main] util.VersionInfo: Source code repository git://aspire/home/apurtell/tmp/hbase-build revision=8f54f8daf8cf4d1a629f8ed62363be29141c1b6e
2015-07-30 19:02:18,252 INFO  [main] util.VersionInfo: Compiled by apurtell on Wed Jun 10 23:01:33 PDT 2015
2015-07-30 19:02:18,252 INFO  [main] util.VersionInfo: From source with checksum c7fa02b5fa18a42cd1b8710cd6bdb998
2015-07-30 19:02:18,647 INFO  [main] util.ServerCommandLine: env:PATH=/opt/jdk1.8.0_45/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/hadoop/hadoop/bin:/home/hadoop/hadoop/sbin
2015-07-30 19:02:18,647 INFO  [main] util.ServerCommandLine: env:LC_MEASUREMENT=zh_CN.UTF-8
2015-07-30 19:02:18,647 INFO  [main] util.ServerCommandLine: env:LC_TELEPHONE=zh_CN.UTF-8
2015-07-30 19:02:18,647 INFO  [main] util.ServerCommandLine: env:LC_TIME=zh_CN.UTF-8
2015-07-30 19:02:18,647 INFO  [main] util.ServerCommandLine: env:JRE_HOME=/opt/jdk1.8.0_45/jre
2015-07-30 19:02:18,648 INFO  [main] util.ServerCommandLine: env:MAIL=/var/mail/hadoop
2015-07-30 19:02:18,648 INFO  [main] util.ServerCommandLine: env:LD_LIBRARY_PATH=:/home/hadoop/hadoop/lib
2015-07-30 19:02:18,649 INFO  [main] util.ServerCommandLine: env:LC_PAPER=zh_CN.UTF-8
2015-07-30 19:02:18,649 INFO  [main] util.ServerCommandLine: env:LOGNAME=hadoop
"hbase-hadoop-master-ktbigdata1.log" 248L, 53655C                                                                      1,1           Top
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
        at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:529)
        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:493)
        at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:547)
        at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:642)
        at org.apache.hadoop.ipc.Client$Connection.access$2600(Client.java:314)
        at org.apache.hadoop.ipc.Client.getConnection(Client.java:1399)
        at org.apache.hadoop.ipc.Client.call(Client.java:1318)
        ... 22 more
2015-07-30 19:02:42,101 INFO  [master:ktbigdata1:60000] master.HMaster: Aborting
2015-07-30 19:02:42,102 DEBUG [master:ktbigdata1:60000] master.HMaster: Stopping service threads
2015-07-30 19:02:42,102 INFO  [master:ktbigdata1:60000] ipc.RpcServer: Stopping server on 60000
2015-07-30 19:02:42,102 INFO  [RpcServer.listener,port=60000] ipc.RpcServer: RpcServer.listener,port=60000: stopping
2015-07-30 19:02:42,104 INFO  [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopped
2015-07-30 19:02:42,104 INFO  [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopping
2015-07-30 19:02:42,104 INFO  [master:ktbigdata1:60000] master.HMaster: Stopping infoServer
2015-07-30 19:02:42,132 INFO  [master:ktbigdata1:60000] mortbay.log: Stopped SelectChannelConnector@0.0.0.0:60010
2015-07-30 19:02:42,258 INFO  [main-EventThread] zookeeper.ClientCnxn: EventThread shut down
2015-07-30 19:02:42,258 INFO  [master:ktbigdata1:60000] zookeeper.ZooKeeper: Session: 0x14edea0c1030003 closed
2015-07-30 19:02:42,258 INFO  [master:ktbigdata1:60000] master.HMaster: HMaster main thread exiting
2015-07-30 19:02:42,259 ERROR [main] master.HMasterCommandLine: Master exiting
java.lang.RuntimeException: HMaster Aborted
        at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:201)
        at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:135)
        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:3047)
2015年 07月 30日 星期四 19:03:43 CST Stopping hbase (via master)


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条