hadoop 伪分布式配置问题

hadoop@ubuntu:/usr/local/hadoop$ ./sbin/start-dfs.sh

16/02/19 01:26:36 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

Starting namenodes on [OpenJDK Server VM warning: You have loaded library /usr/local/hadoop/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'.

localhost]

sed: -e 表达式 #1, 字符 6: “s”的未知选项↵

guard.: ssh: Could not resolve hostname guard.: Name or service not known

-c: Unknown cipher type 'cd'

now.: ssh: Could not resolve hostname now.: Name or service not known

hadoop@localhost's password: localhost: Agent admitted failure to sign using the key.

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

Server: ssh: Could not resolve hostname server: Name or service not known

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

VM: ssh: Could not resolve hostname vm: Name or service not known

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

OpenJDK: ssh: Could not resolve hostname openjdk: Name or service not known

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

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

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

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

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

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

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

The: ssh: Could not resolve hostname the: Name or service not known

it: ssh: Could not resolve hostname it: No address associated with hostname

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

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

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

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

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

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

VM: ssh: Could not resolve hostname vm: Name or service not known

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

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

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

You: ssh: Could not resolve hostname you: Name or service not known

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

link: ssh: Could not resolve hostname link: No address associated with hostname

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

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

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

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

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

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

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

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

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

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



请问怎么解决,急!谢谢

hado
浏览 2203回答 1
1回答

卡洛carlo

在network和hosts里配置主机名试试
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

大数据