我尝试在一个节点上安装hadoop。在使用start-dfs.s
h和start-yarn.sh
启动群集之前,我在主文件夹中生成带有ssh-keygen
的ssh密钥,并将此密钥复制到authorized_keys文件夹,其中包含:cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys
。
当我们第一次启动群集并回答是的时,这条线相对于rsa密钥指纹出现这是正常的吗?因为我看到了安装文档,并且没有出现此消息。
RSA key fingerprint is 20:40:1c:2c:ab:c1:a5:25:4c:7c:93:f4:7f:bd:84.
Are you sure you want to continue connecting (yes/no)
Fullmessage:
./start-all.sh
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
16/03/26 13:00:38 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [localhost]
localhost: starting namenode, logging to /usr/local/hadoop-2.7.1/logs/hadoop-hdadmin-namenode-hadoop.out
localhost: starting datanode, logging to /usr/local/hadoop-2.7.1/logs/hadoop-hdadmin-datanode-hadoop.out
Starting secondary namenodes [0.0.0.0]
The authenticity of host '0.0.0.0 (0.0.0.0)' can't be established.
RSA key fingerprint is 20:40:1c:2c:ab:c1:a5:25:4c:7c:93:f4:7f:bd:84.
Are you sure you want to continue connecting (yes/no)?