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中点击模拟器的启动按钮后,模拟器界面弹出后,又立刻闪退. 解决 一.查看模拟器的信息 从上面可以看到模拟器的存放路径以及名称: 路径 ...
随机推荐
- 安装.msi格式安装包
msi格式的文件,点右键后,没有"以管理员身份运行"的菜单项,直接运行.msi文件报错:"There is a problem with this Windows Ins ...
- STM32-USART打印字符、字符串函数自己犯的错误反思
void UART_Send_Byte(USART_TypeDef *USARTx, uint8_t cha) { USART_SendData(USARTx, cha); while(USART_G ...
- mysql数据库配置
1.下载mysql数据库解压到自己存放的路径 2.解压之后配置环境变量 [此电脑]- [右键]-[属性]-[高级系统设置]-[环境变量]- [找到系统变量中的path]-[选中]-[编辑]- [新建] ...
- 图片转成gif 变成base64
html2canvas 截屏的插件 http://jnordberg.github.io/gif.js/ GIF.js官网 <script src='https://imgss.githu ...
- Docker emqx实践
把emqx服务迁移到另一台服务器上 1.新服务器安装docker apt install docker.io 1.从服务器上导出镜像 导出镜像文件: docker export 55d48d3a13 ...
- jenkins +docker+python接口自动化之jenkins容器下安装python项目所需要的库(三)
1.场景 1.centos系统,在docker的jenkins容器下安装python项目所需要的包 2.我们目前是搞接口自动化,代码放到码云上,运行环境是jenkins容器下,所以需要在jenkins ...
- 专业家庭影音服务器-硬件平台x86+固态盘+sata机械盘
提到影音绕不开的就是大容量存储,就目前情况机械硬盘的海量存储还是唯一选择,所以实现起来总是绕不开NAS这个思路,比较起来,常规PC系统,固态和机械相结合,或许才是终极解决方案. 老式硬件 过失的产品在 ...
- synchronized同步
package com.lei.syn; import java.util.ArrayList; import java.util.List; //线程不安全集合 public class Unsaf ...
- Win10系统删除文件需提供管理员权限-- 解决方案
解决方案1:选中[文件]-[属性]-[安全]-[高级]-选中当前用户[编辑]权限 若还是不行,则试试方案2解决方案2:更改[所有者]--[高级]--[立即查找] 选中[everyone]--[确定] ...
- linux执行某个文件夹下的所有sql文件
一个目录下有多个sql文件,hive需要执行该目录下的每个文件 #!/bin/bash dir=$(ls -l /app/test_warehouse/git/azkaban/test_shrimp/ ...