前一篇的问题解决了,是 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
-- ::, WARN org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Node /hbase/backup-masters/localhost,, a
lready deleted, and this is not a retry
-- ::, INFO org.apache.hadoop.hbase.master.ActiveMasterManager: Master=localhost,,
-- ::, FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception. Starting shutdown.
org.apache.hadoop.ipc.RemoteException: Server IPC version cannot communicate with client version
at org.apache.hadoop.ipc.Client.call(Client.java:)
at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:)
at com.sun.proxy.$Proxy10.getProtocolVersion(Unknown Source)
at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:)
at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:)
at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:)
at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:)
at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:)
at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:)
at org.apache.hadoop.fs.FileSystem.access$(FileSystem.java:)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:)
at org.apache.hadoop.hbase.util.FSUtils.getRootDir(FSUtils.java:)
at org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:)
at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:)
at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:)
at java.lang.Thread.run(Thread.java:)
-- ::, INFO org.apache.hadoop.hbase.master.HMaster: Aborting
-- ::, DEBUG org.apache.hadoop.hbase.master.HMaster: Stopping service threads
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: Stopping server on
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler on : exiting
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler on : exiting
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler on : exiting
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler on : exiting
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server listener on
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: REPL IPC Server handler on : exiting
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler on : exiting
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler on : exiting
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler on : exiting
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler on : exiting
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler on : exiting
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler on : exiting
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler on : exiting
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler on : exiting
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server Responder
-- ::, INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server Responder
-- ::, INFO org.apache.zookeeper.ZooKeeper: Session: 0x146d17f86130003 closed
-- ::, INFO org.apache.hadoop.hbase.master.HMaster: HMaster main thread exiting
-- ::, ERROR org.apache.hadoop.hbase.master.HMasterCommandLine: Master exiting
java.lang.RuntimeException: HMaster Aborted
at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:)
at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:)
at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:)
-- ::, INFO org.apache.zookeeper.ClientCnxn: EventThread shut down
解决办法还没找到:
网上说是版本的问题:
我的版本是cdh4.5

org.apache.hadoop.hbase.master.HMasterCommandLine: Master exiting java.lang.RuntimeException: HMaster Aborted的更多相关文章

  1. Hbase启动的时候出现:[RpcServer.handler=28,port=60000] ipc.RpcServer: RpcServer.handler=28,port=60000: exiting,master.HMasterCommandLine: Master exiting

    hadoop 版本:CDH5.02 Hbase 版本:hbase-0.96.1.1-cdh5.0.2 配置文件:hbase-site.xml <configuration> <pro ...

  2. java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration] with root cause

    在用Java web和hbase连接时,报出来这个错误,一开始我以为是hbase导入的包位置不对,不从build path那里导入,而是从WEB-INF下的lib中导入,尝试了之后结果仍是这个错误 十 ...

  3. Hbase集群master.HMasterCommandLine: Master exiting

    2016-12-15 17:01:57,473 INFO [main] impl.MetricsSystemImpl: HBase metrics system started 2016-12-15 ...

  4. HBASE启动失败,Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster

    Master日志错误:2015-12-02 06:34:32,394 ERROR [main] master.HMasterCommandLine: Master exitingjava.lang.R ...

  5. Hbase master启动报错:Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster Caused by: java.net.UnknownHostException:

    Hbase master启动报错: java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop ...

  6. hbase shell中执行list命令报错:ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

    问题描述: 今天在测试环境中,搭建hbase环境,执行list命令之后,报错: hbase(main):001:0> list TABLE ERROR: org.apache.hadoop.hb ...

  7. hbase运行时ERROR:org.apache.hadoop.hbase.PleaseHoldException:Master is initializing的解决方法

    最终解决了,其实我心中有一句MMP. 版本: hadoop 2.6.4 + hbase0.98 第一个问题,端口问题8020 hadoop默认的namenode 资源子接口是8020 端口,然后我这接 ...

  8. ERROR [main] master.HMasterCommandLine Master exiting

    2018-05-18 07:07:26,257 INFO [main-SendThread(localhost:2181)] zookeeper.ClientCnxn: Opening socket ...

  9. org.apache.hadoop.hbase.TableNotDisabledException 解决方法

    Exception in thread "main" org.apache.hadoop.hbase.TableNotDisabledException: org.apache.h ...

随机推荐

  1. javascript函数调用的几种方式

    ​ function fn() { console.log(this.name); return "fn函数的返回值"; } /*1.方法调用*/ //方法调用,this指向win ...

  2. crypto 密码加密

    转自 'use strict'; var crypto = require('crypto'); /** * generates random string of characters i.e sal ...

  3. 力扣算法——136SingleNumber【E】

    Given a non-empty array of integers, every element appears twice except for one. Find that single on ...

  4. 18-vim-插入命令

    在vi中除了常用的i进入编辑模式外,还提供了以下命令同样可以进入编辑模式: 命令 英文 功能 使用频率 i insert 在当前字符前插入文本 常用 I insert 在行首插入文本 较常用 a ap ...

  5. LLppdd's class meeting!

    LLppdd's class meeting! Time Limit: 1 s Memory Limit: 256 MB 题目背景 LLppdd 有一个可爱团结的班级,他们会定期举行班会活动...比如 ...

  6. iOS音频Error

    最近在cocos应用上发现一个比较奇怪的bug,当应用正在调用录音的时候,按下home键回到后台,然后打开一个音乐播放器播放一个音乐,再回到游戏中游戏就会卡死. 之前录音和播放设置是下方: 播放: [ ...

  7. java 文件读取写入

    public class ReadFromFile { /** * 以字节为单位读取文件,常用于读二进制文件,如图片.声音.影像等文件. */ public static void readFileB ...

  8. Pyinstaller 打包exe 报错 "failed to execute script XXX"的一种解决方案

    最近用PyQt5写了一个界面小程序,需要打包成exe给到其他windows上使用,一开始使用python 3.7 64位,用pyinstaller打包exe,在64位机上运行正常. 但是目标电脑是32 ...

  9. 关于KiCAD的一些插件

    关于KiCAD的一些插件 https://gitee.com/KiCAD-CN/KiCad-CN-Forum/blob/master/KiCad_help_zh_CN.md#swapit-%E5%B7 ...

  10. 深入理解java虚拟机JVM(下)

    深入理解java虚拟机JVM(下) 链接:https://pan.baidu.com/s/1c6pZjLeMQqc9t-OXvUM66w 提取码:uwak 复制这段内容后打开百度网盘手机App,操作更 ...