hadoop启动时报ssh错误怎么办
发表于:2025-12-02 作者:千家信息网编辑
千家信息网最后更新 2025年12月02日,这篇文章主要介绍hadoop启动时报ssh错误怎么办,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!1)问题:hadoop启动时,报ssh: Could not resolve
千家信息网最后更新 2025年12月02日hadoop启动时报ssh错误怎么办
这篇文章主要介绍hadoop启动时报ssh错误怎么办,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!
1)问题:
hadoop启动时,报ssh: Could not resolve hostname xxx: Name or service not known
2)错误信息:
[root[@master](https://my.oschina.net/u/48054) hadoop-2.2.0]# sbin/start-dfs.sh 17/08/06 13:08:59 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicableStarting namenodes on [Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /data/cloud/hadoop/hadoop-2.2.0/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', or link it with '-z noexecstack'.master]sed: -e expression #1, char 6: unknown option to `s'library: ssh: Could not resolve hostname library: Name or service not knownloaded: ssh: Could not resolve hostname loaded: Name or service not knownVM: ssh: Could not resolve hostname VM: Name or service not knownhave: ssh: Could not resolve hostname have: Name or service not knownServer: ssh: Could not resolve hostname Server: Name or service not known64-Bit: ssh: Could not resolve hostname 64-Bit: Name or service not knownhave: ssh: Could not resolve hostname have: Name or service not knowndisabled: ssh: Could not resolve hostname disabled: Name or service not knownVM: ssh: Could not resolve hostname VM: Name or service not knownto: ssh: Could not resolve hostname to: No address associated with hostnameJava: ssh: Could not resolve hostname Java: No address associated with hostnamewhich: ssh: Could not resolve hostname which: Name or service not knownwill: ssh: Could not resolve hostname will: Name or service not knownmight: ssh: Could not resolve hostname might: Name or service not knownstack: ssh: Could not resolve hostname stack: Name or service not knownThe: ssh: Could not resolve hostname The: 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 knownrecommended: ssh: Could not resolve hostname recommended: Name or service not knownguard: ssh: Could not resolve hostname guard: Name or service not knowntry: ssh: Could not resolve hostname try: Name or service not knownfix: ssh: Could not resolve hostname fix: Name or service not known-c: Unknown cipher type 'cd'fix: ssh: Could not resolve hostname fix: Name or service not knownthe: ssh: Could not resolve hostname the: Name or service not knownthe: ssh: Could not resolve hostname the: Name or service not knownwith: ssh: Could not resolve hostname with: Name or service not knownit: ssh: Could not resolve hostname it: No address associated with hostnamewith: ssh: Could not resolve hostname with: Name or service not knownor: ssh: Could not resolve hostname or: Name or service not knownThe authenticity of host 'master (192.168.1.110)' can't be established.RSA key fingerprint is db:8e:ce:15:18:ad:9d:16:0e:88:98:0d:da:06:e4:18.Are you sure you want to continue connecting (yes/no)? that: ssh: Could not resolve hostname that: Name or service not knownhighly: ssh: Could not resolve hostname highly: Name or service not knownlibrary: ssh: Could not resolve hostname library: Name or service not knownnow.: ssh: Could not resolve hostname now.: No address associated with hostnameYou: ssh: Could not resolve hostname You: No address associated with hostnameyou: ssh: Could not resolve hostname you: No address associated with hostnamelink: ssh: Could not resolve hostname link: No address associated with hostnameHotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Temporary failure in name resolutionwarning:: ssh: Could not resolve hostname warning:: Temporary failure in name resolutionIt's: ssh: Could not resolve hostname It's: Temporary failure in name resolution ',: ssh: Could not resolve hostname ',: Temporary failure in name resolution'execstack: ssh: Could not resolve hostname 'execstack: Temporary failure in name resolution'-z: ssh: Could not resolve hostname '-z: Temporary failure in name resolutionnoexecstack'.: ssh: Could not resolve hostname noexecstack'.: Temporary failure in name resolution
3)解决方法:
在/etc/profile文件中添加: export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native export HADOOP_OPTS=-Djava.library.path=$HADOOP_HOME/lib 注意:是export HADOOP_OPTS=-Djava.library.path=$HADOOP_HOME/lib,而不是export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib"
以上是"hadoop启动时报ssh错误怎么办"这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注行业资讯频道!
错误
怎么办
时报
内容
篇文章
价值
信息
兴趣
小伙
小伙伴
文件
方法
更多
知识
行业
资讯
资讯频道
问题
频道
参考
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
河南蓝果网络技术有限公司招聘
theisle服务器介绍
小程序云开发数据库安全性
网络安全部门干什么
云服务器不能用电信吗
超市订单管理数据库文件
网络技术员属于公司什么部门
网络技术人员年终总结报告
Access数据库程序设计代码
服务器数据库地址
宁波手机软件开发培训班
学习数据库原理及应用的期望
数据库主要工作创建各种各样的
网络安全红方工具
建mysql数据库
福建专业服务器租用云服务器
python 数据库类库
无线网络安全科技馆附近
网络安全等级公安局备案
网络安全etf指数基金代码
数据库设计器怎么打开
一个硬盘服务器
房山回收二手服务器估价
医院网络安全信息通报工作
iso软件开发教程
什么是软件开发工具
数据库技术属于什么技术
存储服务器后面插的usb是什么
嵩明正规软件开发网上价格
计算机网络技术基础科目