错误:ssh:could not resolve ....
来源:互联网 发布:linux关闭应用程序 编辑:程序博客网 时间:2024/04/29 22:18
错误描述:
Java: ssh: Could not resolve hostname Java: Name or service not known library: ssh: Could not resolve hostname library: Name or service not known warning:: ssh: Could not resolve hostname warning:: Name or service not known which: ssh: Could not resolve hostname which: Name or service not known have: ssh: Could not resolve hostname have: Name or service not known might: ssh: Could not resolve hostname might: Name or service not known You: ssh: Could not resolve hostname You: Name or service not known loaded: ssh: Could not resolve hostname loaded: Name or service not known Server: ssh: Could not resolve hostname Server: Name or service not known HotSpot(TM): ssh: Could not resolve hostname HotSpot(TM): Name or service not known have: ssh: Could not resolve hostname have: Name or service not known 64-Bit: ssh: Could not resolve hostname 64-Bit: 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 VM: ssh: Could not resolve hostname VM: Name or service not known stack: ssh: Could not resolve hostname stack: Name or service not known The: ssh: Could not resolve hostname The: Name or service not known fix: ssh: Could not resolve hostname fix: Name or service not known try: ssh: Could not resolve hostname try: Name or service not known guard.: ssh: Could not resolve hostname guard.: Name or service not known to: ssh: Could not resolve hostname to: Name or service not known
解决: 在/etc/profile 中添加如下两条内容:
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_INSTALL/lib/nativeexport HADOOP_OPTS="-Djava.library.path=$HADOOP_INSTALL/lib"
这里$HADOOP_INSTALL 指的是hadoop 的安装路径
source /etc/profile 刷新配置
重新启动HDFS,问题消失
0 0
- 错误:ssh:could not resolve ....
- ssh: Could not resolve hostname
- ssh: Could not resolve hostname
- ssh: Could not resolve hostname ...
- git错误--ssh: Could not resolve hostname ssh.github.com: Name or service not known--解决方式
- git错误--ssh: Could not resolve hostname ssh.github.com: Name or service not known--解决方式
- spring报“Could not resolve placeholder”错误
- spring报“Could not resolve placeholder”错误
- spring报“Could not resolve placeholder”错误
- spring报“Could not resolve placeholder”错误
- Hadoop中ssh: Could not resolve hostname问题
- ssh: Could not resolve hostname问题终于解决了。
- Could not resolve placeholder
- could not resolve xxx
- Could not resolve placeholder
- org.hibernate.QueryException: could not resolve property 错误解析
- org.hibernate.QueryException: could not resolve property 错误解析
- spring报“Could not resolve placeholder”错误,解决方案
- 应用VB语言程序生成十个随机数
- linux内核学习之进程和线程
- Pentaho Work with Big Data(六)—— 使用Pentaho MapReduce生成聚合数据集
- 字符串操作strlen,strcpy,strcat的函数原型
- Eclipse导出Library
- 错误:ssh:could not resolve ....
- 苹果内置录屏SDK-ReplayKit库的使用说明
- 保存 BITmap 图片 代码
- 谈谈入门iOS的经验吧
- 调试瑞萨R7F0C002L芯片总结2——运行
- 模板方法模式
- 10的阶乘
- Spring接收参数的几种形式
- SSE2实现HAAR小波变换(dwt2与idwt2)