为了账号安全,请及时绑定邮箱和手机立即绑定

hadoop 伪分布式配置问题

hadoop 伪分布式配置问题

hado 2016-02-19 17:50:04
hadoop@ubuntu:/usr/local/hadoop$ ./sbin/start-dfs.sh16/02/19 01:26:36 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicableStarting 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 knownhadoop@localhost's password: localhost: Agent admitted failure to sign using the key.noexecstack'.: ssh: Could not resolve hostname noexecstack'.: Name or service not knownServer: ssh: Could not resolve hostname server: Name or service not knownwarning:: ssh: Could not resolve hostname warning:: Name or service not knownVM: ssh: Could not resolve hostname vm: Name or service not knowndisabled: ssh: Could not resolve hostname disabled: Name or service not knownOpenJDK: ssh: Could not resolve hostname openjdk: Name or service not knownthe: ssh: Could not resolve hostname the: Name or service not knownhave: ssh: Could not resolve hostname have: Name or service not knownhave: ssh: Could not resolve hostname have: Name or service not knownstack: ssh: Could not resolve hostname stack: Name or service not knownguard: ssh: Could not resolve hostname guard: Name or service not knownstack: ssh: Could not resolve hostname stack: Name or service not knownfix: ssh: Could not resolve hostname fix: Name or service not knownThe: ssh: Could not resolve hostname the: Name or service not knownit: ssh: Could not resolve hostname it: No address associated with hostnamelibrary: ssh: Could not resolve hostname library: Name or service not knowntry: ssh: Could not resolve hostname try: Name or service not knownhighly: ssh: Could not resolve hostname highly: Name or service not knownloaded: ssh: Could not resolve hostname loaded: Name or service not knownmight: ssh: Could not resolve hostname might: Name or service not knownthe: ssh: Could not resolve hostname the: Name or service not knownVM: ssh: Could not resolve hostname vm: Name or service not knownIt's: ssh: Could not resolve hostname it's: Name or service not knownyou: ssh: Could not resolve hostname you: Name or service not known'execstack: ssh: Could not resolve hostname 'execstack: Name or service not knownYou: ssh: Could not resolve hostname you: Name or service not knownwhich: ssh: Could not resolve hostname which: Name or service not knownlink: ssh: Could not resolve hostname link: No address associated with hostnamerecommended: ssh: Could not resolve hostname recommended: Name or service not knownlibrary: ssh: Could not resolve hostname library: Name or service not knownwill: ssh: Could not resolve hostname will: Name or service not knownwith: ssh: Could not resolve hostname with: Name or service not known<libfile>',: ssh: Could not resolve hostname <libfile>',: Name or service not knownwith: ssh: Could not resolve hostname with: Name or service not knownthat: ssh: Could not resolve hostname that: Name or service not knownor: ssh: Could not resolve hostname or: Name or service not knownfix: ssh: Could not resolve hostname fix: Name or service not known'-z: ssh: Could not resolve hostname '-z: Name or service not known请问怎么解决,急!谢谢
查看完整描述

1 回答

?
卡洛carlo

TA贡献3条经验 获得超0个赞

在network和hosts里配置主机名试试

查看完整回答
反对 回复 2017-09-25
  • 1 回答
  • 0 关注
  • 2047 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信