The authenticity of host 'hadoop000 (127.0.0.1)' can't be established

来源:3-11 HDFS格式化以及启动详解

慕数据4146799

2020-05-19

[root@master-yzjbz2547615666-1574134705683-1119608 sbin]# ./start-dfs.sh
20/05/19 10:28:48 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform… using builtin-java classes where applicable
Starting namenodes on [hadoop000]
The authenticity of host ‘hadoop000 (127.0.0.1)’ can’t be established.
ECDSA key fingerprint is SHA256:mK/hOST/auLCw6panXwdCZj1iUYObG26IKXuy/ZAKJM.
ECDSA key fingerprint is MD5:5d:a0:5f:aa:e6:bd:78:0b:11:37:e7:3c:81:d7:bb:b5.
Are you sure you want to continue connecting (yes/no)? no
格式化,配置都做好了,启动就报错,老师请问怎么处理?
我的是云服务器,/etc/hosts 文件配置如下
[root@master-yzjbz2547615666-1574134705683-1119608 hadoop-2.6.0-cdh5.15.1]# cat /etc/hosts
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

127.0.0.1 hadoop000
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
127.0.0.1 ecs-cf3b.novalocal ecs-cf3b
127.0.0.1 ecs-cf3b.novalocal ecs-cf3b.novalocal
127.0.0.1 ecs-test01.novalocal ecs-test01.novalocal
127.0.0.1 ecs-tst0001.novalocal ecs-tst0001.novalocal
127.0.0.1 ecs-c264.novalocal ecs-c264.novalocal
127.0.0.1 ecs-e60a.novalocal ecs-e60a.novalocal
127.0.0.1 master-yzjbz2547615666-1574134705683-1119608.novalocal master-yzjbz2547615666-1574134705683-1119608.novalocal

写回答

1回答

Michael_PK

2020-05-19

格式化确定成功没,有成功的字样的日志吗?那地方应该要输入yes吧。你启动后缺少什么进程就去logs下找到对应缺失进程的日志去分析是什么原因

0
6
慕数据4146799
回复
Michael_PK
嗯,我把.ssh 删了,重新配置一次,现在启动ok了,三个进程都在了,感谢。
2020-05-19
共6条回复

Hadoop 系统入门+核心精讲

从Hadoop核心技术入手,掌握数据处理中ETL应用,轻松进军大数据

2397 学习 · 902 问题

查看课程