1. 程式人生 > >hadoop在Master節點9000埠啟動失敗原因

hadoop在Master節點9000埠啟動失敗原因

由於公司測試需要,需搭建hbase叢集,在搭建的過程中,到hadoop安裝叢集的時候出現了9000埠一直未監聽,啟動時丟擲了以下告警資訊:

Starting namenodes on [Master]
Master: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Master: @       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @
Master: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Master: The ECDSA host key for master has changed,
Master: and the key for the corresponding IP address 192.168.40.245
Master: is unknown. This could either mean that
Master: DNS SPOOFING is happening or the IP address for the host
Master: and its host key have changed at the same time.
Master: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Master: @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
Master: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Master: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Master: Someone could be eavesdropping on you right now (man-in-the-middle attack)!
Master: It is also possible that a host key has just been changed.
Master: The fingerprint for the ECDSA key sent by the remote host is
Master: cb:7f:7b:bb:12:69:08:92:77:f8:35:64:d5:df:c8:f5.
Master: Please contact your system administrator.
Master: Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Master: Offending ECDSA key in /root/.ssh/known_hosts:4
Master: ECDSA host key for master has changed and you have requested strict checking.
Master: Host key verification failed.
從告警資訊可以看出,在/root/.ssh/known_hosts 中IP:192.168.40.245的金鑰已經出現變更,這是由於之前這臺主機的IP地址有做改變,而之前有做過一次免金鑰認證了,所以現在金鑰就出現了錯亂。

解決辦法就是與IP:192.168.40.245這臺主機相關的key全部刪除,重新再做一次免金鑰認證就可以解決問題。