文档章节

ssh: Could not resolve hostname guard.: Temporary

sucre
 sucre
发布于 2016/06/17 09:13
字数 288
阅读 200
收藏 1

今天在通过./start-all.sh启动Hadoop集群的时候报了如下的错误

root@master:/usr/local/hadoop-2.7.2/sbin# ./start-all.sh
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
16/06/16 17:54:32 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 /usr/local/hadoop-2.7.2/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'.
master]
sed: -e expression #1, char 6: unknown option to `s'
HotSpot(TM): ssh: Could not resolve hostname hotspot(tm): Temporary failure in name resolution
Java: ssh: Could not resolve hostname java: Temporary failure in name resolution
You: ssh: Could not resolve hostname you: Temporary failure in name resolution
have: ssh: Could not resolve hostname have: Temporary failure in name resolution
now.: ssh: Could not resolve hostname now.: Temporary failure in name resolution
have: ssh: Could not resolve hostname have: Temporary failure in name resolution
loaded: ssh: Could not resolve hostname loaded: Temporary failure in name resolution
stack: ssh: Could not resolve hostname stack: Temporary failure in name resolution

好了去查查,解决方法如下 在 /etc/profile 中添加如下信息:

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

执行 source /etc/profile 使之立即生效。

© 著作权归作者所有

共有 人打赏支持
sucre
粉丝 30
博文 401
码字总数 211052
作品 0
高级程序员
centos 64位 hadoop编译

如果安装的centos是64位机,hadoop官网给出的源码是32位的,直接运行的话,会出现下面的信息: Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /usr/local/hadoop-2.2...

kt431128
2014/06/04
0
0
centos6.4 32/64位机 hadoop2.2.0集群安装

1、准备环境 安装VMware10 ,三台centos6.4 版本,安装在VMware虚拟机下。 1)安装中文输入法: 1、需要root权限,所以要用root登录 ,或su root 2、yum install "@Chinese Support" 2)安装...

kt431128
2014/06/03
0
17
ssh: Name or service not known

ssh: Could not resolve hostname DataNode1: Name or service not known 搭建hadoop集群过程中 ssh连接其他节点时 ssh hadoop@DataNode1 报错 ssh: Could not resolve hostname DataNode1:......

幽芒
2014/05/27
0
0
安装hadoop,执行start-all.sh命令遇到的问题

[root@localhost bin]# ./start-all.sh starting namenode, logging to /usr/local/hadoop/hadoop-0.20.2/bin/../logs/hadoop-x-namenode-localhost.localdomain.out The authenticity of ho......

xiangfangwei
2013/08/02
5.5K
1
git错误--ssh: Could not resolve hostname ssh.github.com: Name or service not known--解决方式

错误如下: git push origin ssh: Could not resolve hostname ssh.github.com: Name or service not known fatal: Could not read from remote repository. Please make sure you have the ......

子钦加油
09/06
0
0

没有更多内容

加载失败,请刷新页面

加载更多

linux使用ntfs-3g操作ntfs格式硬盘

Linux内核目前只支持对微软NTFS文件系统的读取。 NTFS-3G 是微软 NTFS 文件系统的一个开源实现,同时支持读和写。NTFS-3G 开发者使用 FUSE 文件系统来辅助开发,同时对可移植性有益。 安装 ...

linuxprobe16
今天
1
0
kubeadm部署kubernetes集群

一、环境要求 这里使用RHEL7.5 master、etcd:192.168.10.101,主机名:master node1:192.168.10.103,主机名:node1 node2:192.168.10.104,主机名:node2 所有机子能基于主机名通信,编辑...

人在艹木中
今天
10
0
Shell特殊符号总结以及cut,sort,wc,uniq,tee,tr,split命令

特殊符号总结一 * 任意个任意字符 ? 任意一个字符 # 注释字符 \ 脱义字符 | 管道符 # #号后的备注被忽略[root@centos01 ~]# ls a.txt # 备注 a.txt[root@centos01 ~]# a=1[root@centos01...

野雪球
今天
3
0
OSChina 周二乱弹 —— 程序员圣衣

Osc乱弹歌单(2018)请戳(这里) 【今日歌曲】 @达尔文:分享Skeeter Davis的单曲《The End of the World》 《The End of the World》- Skeeter Davis 手机党少年们想听歌,请使劲儿戳(这里...

小小编辑
今天
20
0
[ python import module ] 导入模块

import moudle_name ----> import module_name.py ---> import module_name.py文件路径 -----> sys.path (这里进行查找文件) # from app.web import Personimport app.web.Person as Pe......

_______-
昨天
5
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部