no hbase master found

报错现象 :

no hbase master found
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/module/hbase-2.0.5/lib/slf4j-log4j12
1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/module/hadoop-3.1.3/share/hadoop/common/lib/slf4j
log4j12-1.7.25.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]

在这里插入图片描述

HBase 的 pid 文件默认存放路径为 /tmp 路径,因为可能被操作系统删除,系统找不到 HBase 的进程号

解决方案 :

在这里插入图片描述

杀死进程

sudo kill -9 24987
sudo kill -9 25167
ssh cpucode102 sudo kill -9 18458
ssh cpucode103 sudo kill -9 2597

在这里插入图片描述

hbase-env.sh 修改内容 :

vim hbase-env.sh
export HBASE_PID_DIR=/opt/module/hbase-2.0.5/pids

在这里插入图片描述

分发 :

xsync conf/

在这里插入图片描述

启动 :

start-hbase.sh

在这里插入图片描述

在这里插入图片描述

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐