HBase启动HMaster闪退
1、问题描述
(1)HBase启动
[Hadoop@master conf]$ start-hbase.sh
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/grid/Hadoop/hadoop-3.3.1/share/hadoop/common/lib/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/grid/HBase/hbase-3.0.0/lib/client-facing-thirdparty/log4j-slf4j-impl-2.14.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
running master, logging to /home/grid/HBase/hbase-3.0.0/logs/hbase-grid-master-master.out
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/grid/Hadoop/hadoop-3.3.1/share/hadoop/common/lib/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/grid/HBase/hbase-3.0.0/lib/client-facing-thirdparty/log4j-slf4j-impl-2.14.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
slave1: regionserver running as process 20374. Stop it first.
slave3: regionserver running as process 20247. Stop it first.
master2: regionserver running as process 20879. Stop it first.
slave2: regionserver running as process 20581. Stop it first.
master: regionserver running as process 9846. Stop it first.
(2)查看HMaster
[Hadoop@master conf]$ jps
4642 Master
3555 ResourceManager
7364 QuorumPeerMain
3303 SecondaryNameNode
3692 NodeManager
3122 DataNode
7955 ZooKeeperMain
9846 HRegionServer
4217 RunJar
16987 HMaster
2972 NameNode
4092 VersionInfo
4412 RunJar
17308 Jps
4734 Worker
(3)问题暴露
二次查看,HMaster消失。
[Hadoop@master conf]$ jps
4642 Master
3555 ResourceManager
7364 QuorumPeerMain
3303 SecondaryNameNode
3692 NodeManager
17326 Jps
3122 DataNode
7955 ZooKeeperMain
9846 HRegionServer
4217 RunJar
2972 NameNode
4092 VersionInfo
4412 RunJar
4734 Worker
2、问题剖析
(1)参考:
参考1:https://blog.csdn.net/zengxianglei/article/details/97558349
参考2:https://www.cnblogs.com/zlslch/p/9192887.html
(2)剖析:
hdfs的默认端口号是8020,而笔者的core-site.xml中将hdfs的端口修改为了9000。
当采用参考1解决不了问题时,可采用参考2(非常重要)。
3、解决方案
(1)修改Hbase中配置文件:hbase-site.xml,添加如下内容:
<property>
<name>hbase.rootdir</name>
<value>hdfs://master:9000/hbase</value>
</property>
(2)拷贝hbase-site.xml至集群各个节点(此处省略)。
(3)Hbase重新启动(先停止Hbase,再启动):
Step1:停止Hbase
[Hadoop@master conf]$ stop-hbase.sh
no hbase master found
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/grid/Hadoop/hadoop-3.3.1/share/hadoop/common/lib/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/grid/HBase/hbase-3.0.0/lib/client-facing-thirdparty/log4j-slf4j-impl-2.14.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Step2:启动Hbase
[Hadoop@master conf]$ start-hbase.sh
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/grid/Hadoop/hadoop-3.3.1/share/hadoop/common/lib/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/grid/HBase/hbase-3.0.0/lib/client-facing-thirdparty/log4j-slf4j-impl-2.14.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
running master, logging to /home/grid/HBase/hbase-3.0.0/logs/hbase-grid-master-master.out
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/grid/Hadoop/hadoop-3.3.1/share/hadoop/common/lib/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/grid/HBase/hbase-3.0.0/lib/client-facing-thirdparty/log4j-slf4j-impl-2.14.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
2021-11-04 21:40:32,654 INFO [main] master.HMaster (HMaster.java:main(2980)) - STARTING service HMaster
2021-11-04 21:40:32,658 INFO [main] util.VersionInfo (VersionInfo.java:logVersion(112)) - HBase 3.0.0-alpha-1
2021-11-04 21:40:32,658 INFO [main] util.VersionInfo (VersionInfo.java:logVersion(112)) - Source code repository git://c1741ba7e144/home/zhangduo/hbase-rm/output/hbase revision=1883889e26fd1bac73630f48d1c6e9adab0230e4
2021-11-04 21:40:32,658 INFO [main] util.VersionInfo (VersionInfo.java:logVersion(112)) - Compiled by zhangduo on Sun Jul 4 01:42:58 UTC 2021
2021-11-04 21:40:32,658 INFO [main] util.VersionInfo (VersionInfo.java:logVersion(112)) - From source with checksum e75e6d4f2c074feeed1d98896edd5afa92702fffb8abe1bf7e1873fabfca987f1ad8c8f67be599297779dddf9f09e677e7c1ff29712bb041240ecf061e736def
slave1: regionserver running as process 20374. Stop it first.
slave2: regionserver running as process 20581. Stop it first.
master2: regionserver running as process 20879. Stop it first.
slave3: regionserver running as process 20247. Stop it first.
master: regionserver running as process 9846. Stop it first.
(4)查看Hbase启动情况:
[Hadoop@master conf]$ jps
4642 Master
3555 ResourceManager
18531 Jps
7364 QuorumPeerMain
18181 HMaster
3303 SecondaryNameNode
3692 NodeManager
3122 DataNode
7955 ZooKeeperMain
9846 HRegionServer
4217 RunJar
2972 NameNode
4092 VersionInfo
4412 RunJar
4734 Worker
间隔一定的时间,做二次验证,jps结果一致。
从上面结果可知,HMaster成功启动,HBase启动正常了。
HBase启动HMaster闪退的更多相关文章
- mac osx 启动wireshark闪退
wireshark启动会提示安装x11 去x11地址安装后 启动还是闪退 原来是姿势不对 这样才行~~ 这一步 这个路径一定要对!路径一定要对!路径一定要对! 然后报错不用管它,如果没反应了,就继续等 ...
- 全网最详细的Windows里Anaconda-Navigator启动后闪退的解决方案(图文详解)
不多说,直接上干货! 问题详情 点击 出现Anaconda-Navigator启动后闪退的现象. 或者 装过一次anaconda,貌似按了一个更新的键就打不开了.navigator这个打不开,会停留 ...
- 8. 启动Tomcat闪退无法启动原因解决
原因可能是由于下面问题导致的: 1.Tomcat环境在不同电脑上引用的jdk路径不同 比如:在A电脑上Tomcat引用的jdk路径为:C:\Java\jdk1.6.0_10 而在B电脑上jdk的安装路 ...
- android app启动就闪退怎么办?
开发过程中,如遇到android app启动就闪退,不要急,直接进入调试模式运行app,就会取得出错的原因. http://blog.sina.com.cn/s/blog_44fa172f0102wg ...
- MongoDB mongo.exe启动及闪退解决 转载
转载自:http://blog.csdn.net/wyx_wx/article/details/76108662 启动: 进入MongoDB安装目录下的bin目录,启动mongod.exe 出现如图所 ...
- 启动扫描闪退,因为忘了在manifest里申请手机镜头使用许可了。
启动扫描闪退,因为忘了在manifest里申请手机镜头使用许可了.
- iOS 启动连续闪退保护方案
引言 “如果某个实体表现出以下任何一种特性,它就具备自主性:自我修复.自我保护.自我维护.对目标的自我控制.自我改进.” —— 凯文·凯利 iOS App 有时可能遇到启动必 crash 的绝境:每次 ...
- Tomcat学习笔记 - 错误日志 - Tomcat安装版安装后第二次启动后闪退(转)-- javac不是内部或外部命令 -- 配置java环境教程
如果安装成功并且安装完成第一次启动是成功的,第二次就闪退的话,原因之一是没有配置java的环境.在网上找的配制方法有很多错误,测试javac命令时候会提示不是内部或外部命令,找到一个正确的教程.如下, ...
- tomcat双击startup.bat启动时闪退
tomcat之前用的好好地没有问题,今天重启一下就发现双击startup.bat一闪而过,接着就没有任何动静了,tomcat无法启动啦? 于是网上搜了一堆tomcat闪退的解决办法,其中有说是没有读取 ...
- 解决ubuntu上在androidstudio中启动emulator闪退的问题(2)
平台 Ubuntu14.04 64 现象 在AndrodStudio中点击模拟器的启动按钮后,模拟器界面弹出后,又立刻闪退. 解决 一.查看模拟器的信息 从上面可以看到模拟器的存放路径以及名称: 路径 ...
随机推荐
- Netty Reactor模型
1.netty抽象出两个线程池:BossGroup负责监听和建立连接 :WorkerGroup 负责网络IO的读写 2.BossGroup 和 WorkerGroup 类型都是NioEventLoop ...
- Python学习笔记组织文件之shutil模块
随笔记录方便自己和同路人查阅. #------------------------------------------------我是可耻的分割线--------------------------- ...
- jenkins 设置Git SSH凭证后,构建Git更新报错returned status code 128解决
报错问题如下: Failed to connect to repository : Command "git ls-remote -h git@IP地址:python/django.git ...
- C#使用SharpZipLib解压多文件的zip压缩文件数据流,保存到本地
代码: public async Task<ReturnModel<List<string>>> UploadModel() { var task = new Ta ...
- java-功能-参数校验
1.map中数据 if (null == input.get("logId") || StringUtils.isBlank((String) input.get("lo ...
- 前端循环及跳出for循环
前端循环语句与方法 while循环 语法 1.初始化变量 2.while(条件表达式){逻辑代码循环体} 执行过程: 1.执行初始化变量 2.变量是否满足条件表达式 3.满足执行循环体 4.条件不满足 ...
- Docker-Compose编排与部署
Docker Compose (多个容器编排) 是一个定义及运行多个docker容器的工具,可以使用YAML文件来配置应用,使用命令,可以创建并启动配置中的所有服务.docker compose会通过 ...
- 「SOL」NOI2016 Day1 解题报告
第一次打 NOI,还是先把以前的 NOI 题刷一遍吧? # 目录 目录 # 目录 # A. 优秀的拆分 excellent # B. 网格 grid # C. 循环之美 cyclic # 小结 # 源 ...
- 一切混乱开端的透明效果——ShaderCp8
--20.8.18 Unity中,通常用两种方法来实现透明效果 1)透明度测试 2)透明度混合 这两个分别是什么呢 1.透明度测试指的只要不符合条件(即在物体颜色中的alpha通道的值小于某一个阈值) ...
- DAST 代码分析
DA部分 输入图片大小: images.size: torch.Size([1, 3, 512, 1024])labels.size: torch.Size([1, 512, 1024]) input ...