start-all 启动hadoop报 Name or service not knownstname 错误,
原因在于IP进行SSH登录的时候总提示:
The authenticity of host '192.168.0.31' can't be established.
RSA key fingerprint is 52:9b:e2:62:93:01:88:e6:46:a8:16:68:52:91:8a:ea.
Are you sure you want to continue connecting (yes/no)?
屏蔽设置,添加如下两行配置:
vi /etc/ssh/ssh_config
----------------------------------------------------------------------------
Host *
GSSAPIAuthentication yes
# If this option is set to yes then remote X11 clients will have full access
# to the original X11 display. As virtually no X11 client supports the untrusted
# mode correctly we set this to yes.
ForwardX11Trusted yes
BatchMode yes
StrictHostKeyChecking no
# Send locale-related environment variables
SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT