Hadoop Yarn connection refused 警告
来源:互联网 发布:单片机音乐乐谱 编辑:程序博客网 时间:2024/05/17 20:01
$ start-dfs.sh
16/01/17 16:17:04 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [OpenJDK Client VM warning: You have loaded library /home/tizen/share/software/hadoop-2.7.1/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'.
namenode]
-c: Unknown cipher type 'cd'
sed: -e 表达式 #1, 字符 6: “s”的未知选项↵
It's: ssh: Could not resolve hostname it's: Name or service not known
'execstack: ssh: Could not resolve hostname 'execstack: Name or service not known
warning:: ssh: Could not resolve hostname warning:: Name or service not known
<libfile>',: ssh: Could not resolve hostname <libfile>',: Name or service not known
link: ssh: Could not resolve hostname link: No address associated with hostname
'-z: ssh: Could not resolve hostname '-z: Name or service not known
it: ssh: Could not resolve hostname it: No address associated with hostname
noexecstack'.: ssh: Could not resolve hostname noexecstack'.: Name or service not known
namenode: starting namenode, logging to /usr/local/hadoop/logs/hadoop-tizen-namenode-samsung.out
to: ssh: connect to host to port 22: Connection refused
VM: ssh: connect to host vm port 22: Connection timed out
16/01/17 16:17:04 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [OpenJDK Client VM warning: You have loaded library /home/tizen/share/software/hadoop-2.7.1/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'.
namenode]
-c: Unknown cipher type 'cd'
sed: -e 表达式 #1, 字符 6: “s”的未知选项↵
It's: ssh: Could not resolve hostname it's: Name or service not known
'execstack: ssh: Could not resolve hostname 'execstack: Name or service not known
warning:: ssh: Could not resolve hostname warning:: Name or service not known
<libfile>',: ssh: Could not resolve hostname <libfile>',: Name or service not known
link: ssh: Could not resolve hostname link: No address associated with hostname
'-z: ssh: Could not resolve hostname '-z: Name or service not known
it: ssh: Could not resolve hostname it: No address associated with hostname
noexecstack'.: ssh: Could not resolve hostname noexecstack'.: Name or service not known
namenode: starting namenode, logging to /usr/local/hadoop/logs/hadoop-tizen-namenode-samsung.out
to: ssh: connect to host to port 22: Connection refused
VM: ssh: connect to host vm port 22: Connection timed out
Client: ssh: connect to host client port 22: Connection timed out
尽管有这么多的警告,但是jps后发现主节点的namenode datanode secondary node 及次节点的datanode均已启动成功。
查阅很多文档,大多认为系统或者jdk是64位的,但是hadoop是32位的,因此,需要在环境变量中增加下面两行:
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native
export HADOOP_OPTS="$HADOOP_OPTS -Djava.library.path=$HADOOP_HOME/lib/native"
但是我尝试后仍然无法去除上面的警告。
后来file native 下的hadoop.so.0.0.1发现,原来hadoop是64位的,而我的系统是32位的。
因此,在hadoop2.4后,官方提供的是64位的版本,因此需要自己下载source包编译。
编译过程见后续文章。
0 0
- Hadoop Yarn connection refused 警告
- hadoop namenode Connection refused
- hadoop master:10020 connection refused
- hadoop安装--排错2 connection refused
- Eclipse 连接Hadoop Connection refused 问题
- connection refused
- hadoop 0.0.0.0/0.0.0.0:10020 connection refused
- 提交Hadoop作业失败,报错Connection refused
- Connection Refused hadoop遇见的问题,纪念一下
- hadoop 0.0.0.0/0.0.0.0:10020 connection refused
- 如何解决Hadoop Connection Refused和FileNotFoundException问题
- java.net.ConnectException: Connection refused (Connection refused)
- hadoop 报错org.apache.hadoop.mapred.ReduceTask: java.net.ConnectException: Connection refused
- hadoop 安装ganglia监控hadoop时候报错 Connection refused(拒绝连接)
- Daytime connection refused
- Connection refused错误
- Connect : Connection refused
- android connection refused
- Android 获取来电号码 + 悬浮框
- CSS 水平居中设置
- PHP正则表达式 解析优酷视频ID
- 执行make出现“Warning: File `xxx.c' has modification time 2.6e+04 s in the future“警告的解决方法
- Navicat_for_MySQL安装
- Hadoop Yarn connection refused 警告
- 单调栈的运用
- 高性能JavaScript
- Netfilter中conntrack的建立过程
- Caffe安装笔记
- C#与C++区别(转)
- 堆栈(值类型,引用类型)
- 注释文档 -Java
- 图像中的灰度共生矩阵