问题: Someone could be eavesdropping on you right now (man-in-the-middle attack)! 0.0.0.0: It is also

问题: start-dfs.sh
Starting namenodes on [localhost]
localhost: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
localhost: @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
localhost: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
localhost: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
localhost: Someone could be eavesdropping on you right now (man-in-the-middle attack)!
localhost: It is also possible that a host key has just been changed.
localhost: The fingerprint for the ECDSA key sent by the remote host is
localhost: SHA256:3ByD9vpXcWGn0EX47vHEtxDOtM639PTXoN/1GwUU5bo.
localhost: Please contact your system administrator.
localhost: Add correct host key in /home/hadoop/.ssh/known_hosts to get rid of this message.
localhost: Offending ECDSA key in /home/hadoop/.ssh/known_hosts:1
localhost:   remove with:
localhost:   ssh-keygen -f "/home/hadoop/.ssh/known_hosts" -R localhost
localhost: ECDSA host key for localhost has changed and you have requested strict checking.
localhost: Host key verification failed.
localhost: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
localhost: @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
localhost: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
localhost: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
localhost: Someone could be eavesdropping on you right now (man-in-the-middle attack)!
localhost: It is also possible that a host key has just been changed.
localhost: The fingerprint for the ECDSA key sent by the remote host is
localhost: SHA256:3ByD9vpXcWGn0EX47vHEtxDOtM639PTXoN/1GwUU5bo.
localhost: Please contact your system administrator.
localhost: Add correct host key in /home/hadoop/.ssh/known_hosts to get rid of this message.
localhost: Offending ECDSA key in /home/hadoop/.ssh/known_hosts:1
localhost:   remove with:
localhost:   ssh-keygen -f "/home/hadoop/.ssh/known_hosts" -R localhost
localhost: ECDSA host key for localhost has changed and you have requested strict checking.
localhost: Host key verification failed.
Starting secondary namenodes [0.0.0.0]
0.0.0.0: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
0.0.0.0: @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
0.0.0.0: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
0.0.0.0: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
0.0.0.0: Someone could be eavesdropping on you right now (man-in-the-middle attack)!
0.0.0.0: It is also possible that a host key has just been changed.
0.0.0.0: The fingerprint for the ECDSA key sent by the remote host is
0.0.0.0: SHA256:3ByD9vpXcWGn0EX47vHEtxDOtM639PTXoN/1GwUU5bo.
0.0.0.0: Please contact your system administrator.
0.0.0.0: Add correct host key in /home/hadoop/.ssh/known_hosts to get rid of this message.
0.0.0.0: Offending ECDSA key in /home/hadoop/.ssh/known_hosts:2
0.0.0.0:   remove with:
0.0.0.0:   ssh-keygen -f "/home/hadoop/.ssh/known_hosts" -R 0.0.0.0
0.0.0.0: ECDSA host key for 0.0.0.0 has changed and you have requested strict checking.
0.0.0.0: Host key verification failed.
hadoop@b9b8f8b01540:~$ rm -f /home/hadoop/.ssh/known_hosts

hadoop@b9b8f8b01540:~$ sudo rm -f /home/hadoop/.ssh/known_hosts

解决:删除/home/hadoop/.ssh/known_hosts

再次启动: start-dfs.sh #
Starting namenodes on [localhost]
The authenticity of host 'localhost (127.0.0.1)' can't be established.
ECDSA key fingerprint is SHA256:3ByD9vpXcWGn0EX47vHEtxDOtM639PTXoN/1GwUU5bo.
Are you sure you want to continue connecting (yes/no)? yes
localhost: Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
localhost: starting namenode, logging to /usr/local/hadoop/logs/hadoop-hadoop-namenode-b9b8f8b01540.out
localhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-hadoop-datanode-b9b8f8b01540.out
Starting secondary namenodes [0.0.0.0]
The authenticity of host '0.0.0.0 (0.0.0.0)' can't be established.
ECDSA key fingerprint is SHA256:3ByD9vpXcWGn0EX47vHEtxDOtM639PTXoN/1GwUU5bo.
Are you sure you want to continue connecting (yes/no)? ye
Please type 'yes' or 'no': yes
0.0.0.0: Warning: Permanently added '0.0.0.0' (ECDSA) to the list of known hosts.

0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/logs/hadoop-hadoop-secondarynamenode-b9b8f8b01540.out

下一次就不用了: stop-dfs.sh
Stopping namenodes on [localhost]
localhost: stopping namenode
localhost: stopping datanode
Stopping secondary namenodes [0.0.0.0]
0.0.0.0: stopping secondarynamenode
hadoop@b9b8f8b01540:~$ start-dfs.sh
Starting namenodes on [localhost]
localhost: starting namenode, logging to /usr/local/hadoop/logs/hadoop-hadoop-namenode-b9b8f8b01540.out
localhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-hadoop-datanode-b9b8f8b01540.out
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/logs/hadoop-hadoop-secondarynamenode-b9b8f8b01540.out

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值