您的位置:首页 > 运维架构

hadoop 2.6.1 出现ssh无法解析主机名等错误提示的解决办法

2015-10-21 09:57 543 查看
lin@LL162:~/Hadoop/hadoop-2.6.1$ sbin/start-all.sh

This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh

15/10/21 09:31:22 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

Starting namenodes on [Java HotSpot(TM) Client VM warning: You have loaded library /home/lin/Hadoop/hadoop-2.6.1/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.

It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.

LL163]

sed: -e expression #1, char 6: unknown option to `s'

HotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Name or service not known

warning:: ssh: Could not resolve hostname warning:: Name or service not known

guard.: ssh_exchange_identification: Connection closed by remote host

guard: ssh_exchange_identification: Connection closed by remote host

Client: ssh_exchange_identification: Connection closed by remote host

VM: ssh_exchange_identification: Connection closed by remote host

which: ssh_exchange_identification: Connection closed by remote host

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

RSA key fingerprint is f0:53:b3:43:1f:dc:1f:8c:08:03:a4:40:ed:da:d0:34.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'might (202.106.199.34)' can't be established.

RSA key fingerprint is f0:53:b3:43:1f:dc:1f:8c:08:03:a4:40:ed:da:d0:34.

Are you sure you want to continue connecting (yes/no)? -c: Unknown cipher type 'cd'

'execstack: ssh: Could not resolve hostname 'execstack: Name or service not known

It's: ssh: Could not resolve hostname It's: Name or service not known

<libfile>',: ssh: Could not resolve hostname <libfile>',: Name or service not known

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

RSA key fingerprint is f0:53:b3:43:1f:dc:1f:8c:08:03:a4:40:ed:da:d0:34.

Are you sure you want to continue connecting (yes/no)? will: ssh_exchange_identification: Connection closed by remote host

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

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'have (202.106.199.34)' can't be established.

RSA key fingerprint is f0:53:b3:43:1f:dc:1f:8c:08:03:a4:40:ed:da:d0:34.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'try (202.106.199.37)' can't be established.

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'the (202.106.199.37)' can't be established.

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'that (202.106.199.37)' can't be established.

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'the (202.106.199.37)' can't be established.

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'you (202.106.199.34)' can't be established.

RSA key fingerprint is f0:53:b3:43:1f:dc:1f:8c:08:03:a4:40:ed:da:d0:34.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'fix (202.106.199.37)' can't be established.

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'you (202.106.199.37)' can't be established.

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'have (202.106.199.34)' can't be established.

RSA key fingerprint is f0:53:b3:43:1f:dc:1f:8c:08:03:a4:40:ed:da:d0:34.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'stack (202.106.199.37)' can't be established.

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'fix (202.106.199.37)' can't be established.

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'now. (202.106.199.37)' can't be established.

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'll163 (192.168.0.163)' can't be established.

ECDSA key fingerprint is 7d:17:c1:12:a0:1b:cd:30:58:8c:ce:69:e1:57:f0:c1.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'vm (202.106.199.34)' can't be established.

RSA key fingerprint is f0:53:b3:43:1f:dc:1f:8c:08:03:a4:40:ed:da:d0:34.

Are you sure you want to continue connecting (yes/no)? it: ssh: Could not resolve hostname it: Name or service not known

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

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'library (202.106.199.34)' can't be established.

RSA key fingerprint is f0:53:b3:43:1f:dc:1f:8c:08:03:a4:40:ed:da:d0:34.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'or (202.106.199.37)' can't be established.

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? Java: ssh: Could not resolve hostname Java: Name or service not known

'-z: ssh: Could not resolve hostname '-z: Name or service not known

noexecstack'.: ssh: Could not resolve hostname noexecstack'.: Name or service not known

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

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'the (202.106.199.37)' can't be established.

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'with (202.106.199.37)' can't be established.

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'recommended (202.106.199.37)' can't be established.

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? The authenticity of host 'with (202.106.199.37)' can't be established.

RSA key fingerprint is a6:1d:25:ab:6c:5b:ae:12:b9:ff:8c:d4:81:42:05:49.

Are you sure you want to continue connecting (yes/no)? link: ssh: Could not resolve hostname link: Name or service not known

to: ssh: connect to host to port 22: Connection refused

hadoop 2.61. 需要在环境变量里面添加

export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native
export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib"

这两句话,只有hadoop_home 是不行的;

后来发现是版本不兼容的问题。我的虚拟机是32位的,hadoop是64位的。吧虚拟机改为64位的 没有此问题;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: