KeeperErrorCode = ConnectionLoss for /hbase/master

发布时间:2024-12-15 10:18

'Apology'用'My apologies for the delay'致歉 #生活技巧# #职场沟通技巧# #商务英语口语#

1、关闭所有防火墙

Linux CentOS-7 关闭2个防火墙_懒笑翻的博客-CSDN博客1、system--------查看防火墙状态systemctl status firewalld--------关闭防火墙systemctl stop firewalld2、service------查看防火墙状态service firewalld status--------关闭防火墙service firewalld stop[bigdata@localhost ~]$ systemctl status firewalld● firew.https://blog.csdn.net/c_lanxiaofang/article/details/124675626?csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%22124675626%22%2C%22source%22%3A%22c_lanxiaofang%22%7D&ctrtid=EclCp

2、进入到hadoop 的 sbin 目录下,启动stop-all.sh 关闭所有进程,并通过 jps 查看进程

[bigdata@localhost ~]$ cd /home/bigdata/Opt/hadoop-2.10.1/sbin

[bigdata@localhost sbin]$ ./stop-all.sh

This script is Deprecated. Instead use stop-dfs.sh and stop-yarn.sh

Stopping namenodes on [192.168.232.139]

192.168.232.139: chown: changing ownership of ‘/home/bigdata/Opt/hadoop-2.10.1/logs’: Operation not permitted

192.168.232.139: no namenode to stop

localhost: chown: changing ownership of ‘/home/bigdata/Opt/hadoop-2.10.1/logs’: Operation not permitted

localhost: no datanode to stop

Stopping secondary namenodes [0.0.0.0]

0.0.0.0: chown: changing ownership of ‘/home/bigdata/Opt/hadoop-2.10.1/logs’: Operation not permitted

0.0.0.0: no secondarynamenode to stop

stopping yarn daemons

chown: changing ownership of ‘/home/bigdata/Opt/hadoop-2.10.1/logs’: Operation not permitted

no resourcemanager to stop

rm: cannot remove ‘/tmp/yarn-bigdata-resourcemanager.pid’: Operation not permitted

localhost: chown: changing ownership of ‘/home/bigdata/Opt/hadoop-2.10.1/logs’: Operation not permitted

localhost: no nodemanager to stop

chown: changing ownership of ‘/home/bigdata/Opt/hadoop-2.10.1/logs’: Operation not permitted

no proxyserver to stop

[bigdata@localhost sbin]$ jps

9472 Jps

 3、切换到root权限的用户,通过 start-all.sh 启动所有hadoop进程,通过 jps 查看进程

[bigdata@localhost sbin]$ su root

Password:

[root@localhost sbin]# ./start-all.sh

This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh

Starting namenodes on [192.168.232.139]

root@192.168.232.139

192.168.232.139: namenode running as process 6933. Stop it first.

root@localhost

localhost: datanode running as process 3383. Stop it first.

Starting secondary namenodes [0.0.0.0]

root@0.0.0.0

0.0.0.0: secondarynamenode running as process 3554. Stop it first.

starting yarn daemons

starting resourcemanager, logging to /home/bigdata/Opt/hadoop-2.10.1/logs/yarn-bigdata-resourcemanager-localhost.localdomain.out

root@localhost

root@localhost

localhost: starting nodemanager, logging to /home/bigdata/Opt/hadoop-2.10.1/logs/yarn-root-nodemanager-localhost.localdomain.out

[root@localhost sbin]# jps

3554 SecondaryNameNode

6933 NameNode

3383 DataNode

10712 NodeManager

10410 ResourceManager

10845 Jps

4、使用root用户,下载 ntp 对服务器进行时间同步

# 安装ntp服务

yum install ntp

# 设置服务启动方式

systemctl enable ntpd

# 启动服务

service ntpd restart

# 将系统时区修改为上海时间

ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

# 启动HBase

start-hbase.sh

#查看

jps

 

[bigdata@localhost ~]$ su root

Password:

[root@localhost bigdata]# yum install ntp

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

Package ntp-4.2.6p5-29.el7.centos.2.x86_64 already installed and latest version

Nothing to do

[root@localhost bigdata]# systemctl enable ntpd

Created symlink from /etc/systemd/system/multi-user.target.wants/ntpd.service to /usr/lib/systemd/system/ntpd.service.

[root@localhost bigdata]# service ntpd restart

Redirecting to /bin/systemctl restart ntpd.service

[root@localhost bigdata]# ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

[root@localhost bigdata]# start-hbase.sh

SLF4J: Class path contains multiple SLF4J bindings.

SLF4J: Found binding in [jar:file:/home/bigdata/Opt/hbase-2.4.12/lib/client-facing-thirdparty/slf4j-reload4j-1.7.33.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: Found binding in [jar:file:/home/bigdata/Opt/hadoop-2.10.1/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.Reload4jLoggerFactory]

running master, logging to /home/bigdata/Opt/hbase-2.4.12/logs/hbase-bigdata-master-localhost.localdomain.out

SLF4J: Class path contains multiple SLF4J bindings.

SLF4J: Found binding in [jar:file:/home/bigdata/Opt/hbase-2.4.12/lib/client-facing-thirdparty/slf4j-reload4j-1.7.33.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: Found binding in [jar:file:/home/bigdata/Opt/hadoop-2.10.1/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.

: running regionserver, logging to /home/bigdata/Opt/hbase-2.4.12/logs/hbase-bigdata-regionserver-localhost.localdomain.out

[root@localhost bigdata]# jps

3554 SecondaryNameNode

6933 NameNode

14037 HMaster

3383 DataNode

10712 NodeManager

14360 Jps

10410 ResourceManager

14205 HRegionServer

网址:KeeperErrorCode = ConnectionLoss for /hbase/master https://www.yuejiaxmz.com/news/view/480209

相关内容

美的Master燃气灶 XQ3S,智能烹饪一步到“胃”
Master Kitchen厨房收纳
意大利大师级·高定厨房Master Kitchen,以意式匠心淬炼厨间美学
The view 'index.php/Index' or its master was not found. The following locations were searched:~/Views/index.php/Index.aspx
意大利大师级·高定厨房Master Kitchen,以魅力厨间传递生活之美
意大利大师级·高定厨房Master Kitchen,以意式匠心淬炼厨间美学—新浪家居
意大利大师级·高定厨房Master Kitchen,用意式巧思与匠心锻造品质生活
【安全问题】ZooKeeper未授权访问
Kubernetes CKA认证运维工程师笔记
字幕编辑器(Srt Sub Master) v3.4.0 视频字幕制作软件 中文绿色免费版 下载

随便看看