我正在尝试在本地安装hadoop。基本上,我遵循了"Hadoop --权威指南“中的步骤。
一切工作正常,包括ssh配置。实际上,这并不是我第一次安装hadoop。
但是,当我尝试运行start-all.sh脚本时,我收到以下错误:
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 the RSA host key has just been changed.
localhost: The fingerprint for the RSA key sent by the remote host is
localhost: 42:e7:95:2a:32:ac:3b:7e:fa:40:09:0d:b5:01:ed:21.
localhost: Please contact your system administrator.
localhost: Add correct host key in /home/rbelet/.ssh/known_hosts to get rid of this msg.
localhost: Offending key in /home/rbelet/.ssh/known_hosts:1
localhost: RSA host key for localhost has changed and you have requested strict checking.
localhost: Host key verification failed.据我所知,我应该将本地主机服务器的公钥添加到文件known_host中。我说的对吗?
有什么好主意吗?
发布于 2012-09-08 14:48:03
这不是hadoop的问题,而是纯粹的SSH相关问题。看起来您已经将localhost节点添加到您的已知主机文件中了。现在,当您连接到它时,它有一个不同的公钥,因此ssh意识到有人试图执行中间人攻击。您可以重新设置关键点,以摆脱此问题。
https://stackoverflow.com/questions/12318610
复制相似问题