org.apache.hadoop.ipc.Client: Retrying connect to server异常的解决
来源:互联网 发布:网红淘宝店 编辑:程序博客网 时间:2024/05/16 03:45
检查发现是DataNode一直连接不到NameNode。
检查各个节点在etc/hosts中的配置是否有127.0.1.1 xxxxxx。如果有把其屏蔽或者删除,重启各节点即可。
原因:127.0.1.1是debian中的本地回环。这个造成了hadoop解析出现问题。这个设置应该是在做伪分布式的hadoop集群的时候,留下来的。
如果照上面的方法还是出现同样的问题,或者etc/hosts目录并没有127.0.1.1的设置的话。
那么可以在conf/core-site.xml (0.19.2版本的为conf/hadoop-site.xml)中增加以下内容
<property> <name>hadoop.tmp.dir</name> <value>/var/log/hadoop/tmp</value> <description>A base for other temporary directories</description> </property>
重启hadoop后,重新格式化namenode即可。
原因是:hadoop默认配置是把一些tmp文件放在/tmp目录下,重启系统后,tmp目录下的东西被清除,所以报错
参考:http://anyoneking.com/archives/603
0 0
- hadoop遇到的问题: org.apache.hadoop.ipc.Client: Retrying connect to server异常的解决
- org.apache.hadoop.ipc.Client: Retrying connect to server异常的解决
- org.apache.hadoop.ipc.Client: Retrying connect to server异常的解决
- org.apache.hadoop.ipc.Client: Retrying connect to server异常的解决
- org.apache.hadoop.ipc.Client: Retrying connect to server异常的解决
- org.apache.hadoop.ipc.Client: Retrying connect to server
- org.apache.hadoop.ipc.Client: Retrying connect to server
- hadoop异常:org.apache.hadoop.ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8031
- hadoop异常:虚拟机上搭建分布式集群org.apache.hadoop.ipc.Client: Retrying connect to server
- hadoop数据节点通信异常【启动hadoop集群遇到错误org.apache.hadoop.ipc.Client: Retrying connect to server】
- org.apache.hadoop.ipc.Client: Retrying connect to server: localhost/127.0.0.1:7359. Already tried 7
- org.apache.hadoop.ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8031
- org.apache.hadoop.ipc.Client - Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 0 ti
- Hadoop的dfs -ls 报错:ipc.Client: Retrying connect to server
- hadoop Client: Retrying connect to server
- hadoop INFO ipc.Client: Retrying connect to server: master/192.168.0.45:54310. Already tried 0 time
- hadoop错误INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1
- hadoop错误INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1
- 在确认UIAlertView后,调用presentViewController无效的问题
- Lucene入门教程
- 解决mysql"Access denied for user'root'@'IP地址'"问题
- mac下安装automake
- 多继承引发的诡异bug (cocos2d-x CCObject)
- org.apache.hadoop.ipc.Client: Retrying connect to server异常的解决
- 三角形类型的判断
- setBackgroundResource设置背景导致padding错误
- 用XStream把Map转化成xml的例子
- Mac下显示隐藏文件
- Linux 查看硬件配置
- dcef3(一)
- 【JAVA应用】自定义Exception异常类
- 提高mac app store的下载速度