栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

JAVA大数据的第五十九天——The authenticity of host ‘gree129 (192.168.59.129)‘ can‘t be established.

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

JAVA大数据的第五十九天——The authenticity of host ‘gree129 (192.168.59.129)‘ can‘t be established.

在搭建hadoop高可通集群,启动yarn的时候遇到问题

[root@gree131 hadoop]# start-yarn.sh
starting yarn daemons
starting resourcemanager, logging to /opt/soft/hadoop260/logs/yarn-root-resourcemanager-gree131.out
The authenticity of host 'gree129 (192.168.59.129)' can't be established.
ECDSA key fingerprint is SHA256:UrtSJM762AtU2URs/zH8rHccrh1ZgLOP3FAmMP/tLrY.
ECDSA key fingerprint is MD5:f3:8d:21:1b:c3:de:20:35:af:d3:06:46:0a:76:f3:e2.
Are you sure you want to continue connecting (yes/no)? gree132: nodemanager running as process 2207. Stop it first.
gree131: nodemanager running as process 2379. Stop it first.
gree134: ssh: Could not resolve hostname gree134: Name or service not known
 

一、gree134是hosts问题,需要在hosts中修改ip地址

[root@gree131 hadoop260]# cat  /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.59.128  gree128
192.168.59.129  gree129
192.168.59.131  gree131
192.168.59.132  gree132

二、gree129问题:The authenticity of host 'gree129 (192.168.59.129)' can't be established.

执行一下命令      ssh -o StrictHostKeyChecking=no 192.168.59.129

[root@gree131 ~]# ssh  -o StrictHostKeyChecking=no  192.168.59.129
Last login: Thu Nov  4 22:32:34 2021 from gree131

这样就行了,再次执行start-yarn.sh  就没问题

[root@gree129 soft]# start-yarn.sh
starting yarn daemons
starting resourcemanager, logging to /opt/soft/hadoop260/logs/yarn-root-resourcemanager-gree129.out
gree132: starting nodemanager, logging to /opt/soft/hadoop260/logs/yarn-root-nodemanager-gree132.out
gree134: starting nodemanager, logging to /opt/soft/hadoop260/logs/yarn-root-nodemanager-gree134.out
gree129: starting nodemanager, logging to /opt/soft/hadoop260/logs/yarn-root-nodemanager-gree129.out
gree131: starting nodemanager, logging to /opt/soft/hadoop260/logs/yarn-root-nodemanager-gree131.out

用jps验证一下,yarn启动成功

[root@gree129 soft]# jps
4464 Jps
4021 ResourceManager
4126 NodeManager

感谢众多博主的帮助,希望能帮到一点其他人,与大家共同进步!

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/422144.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号