1. 程式人生 > >The authenticity of host '0.0.0.0 (0.0.0.0)' can't be established.

The authenticity of host '0.0.0.0 (0.0.0.0)' can't be established.

ubuntu安裝Hadoop是出現

The authenticity of host ‘0.0.0.0 (0.0.0.0)’ can’t be established.(錯誤),

程式碼如下:

root@master:/usr/local/hadoop/hadoop-2.6.0# sbin/start-dfs.sh
Starting namenodes on [localhost]
localhost: starting namenode, logging to /usr/local/hadoop/hadoop-2.6.0/logs/hadoop-root-namenode-master.out
localhost: starting datanode, logging to /usr/local/hadoop/hadoop-2.6
.0/logs/hadoop-root-datanode-master.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 dc:f6:ec:22:ca:5c:5d:b2:e1:cb:0f:77:ce:f9:57:07. Are you sure you want to continue connecting (yes/no)? ^C0.0.0.0: Host key verification failed.

解決方法:關閉防火牆

執行命令:

root@master:# ufw disable