Hadoop— ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 5 time(s).
来源:互联网 发布:188旅游网站源码 编辑:程序博客网 时间:2024/05/21 17:29
有时候大家会看到以下的信息,这表示没连上hdfs。
ximo@ubuntu:~$ hadoop fs -ls
11/11/08 10:59:32 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 0 time(s).
11/11/08 10:59:33 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 1 time(s).
11/11/08 10:59:34 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 2 time(s).
11/11/08 10:59:35 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 3 time(s).
11/11/08 10:59:36 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 4 time(s).
11/11/08 10:59:37 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 5 time(s).
有几种原因:
1)hadoop配置
主要是$HADOOP_HOME/conf/hdfs-site.xml、mapred-site.xml、core-site.xml中的配置是否正确,伪分布式模式可以参考前面的blog,或是网上的文章,一大堆一大堆的。
2)机器连不通
如果是分布式的,还要看hadoop客户端机器能不能ping通hdfs机器,注意hdfs的端口号
3)namenode没有启动
是否是namenode没有启动,
$stop-all.sh 如果出现no namenode stop则表示是namenode的问题
$hadoop namenode -format
$start-all.sh
ximo@ubuntu:~$ hadoop fs -ls
11/11/08 10:59:32 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 0 time(s).
11/11/08 10:59:33 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 1 time(s).
11/11/08 10:59:34 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 2 time(s).
11/11/08 10:59:35 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 3 time(s).
11/11/08 10:59:36 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 4 time(s).
11/11/08 10:59:37 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 5 time(s).
有几种原因:
1)hadoop配置
主要是$HADOOP_HOME/conf/hdfs-site.xml、mapred-site.xml、core-site.xml中的配置是否正确,伪分布式模式可以参考前面的blog,或是网上的文章,一大堆一大堆的。
2)机器连不通
如果是分布式的,还要看hadoop客户端机器能不能ping通hdfs机器,注意hdfs的端口号
3)namenode没有启动
是否是namenode没有启动,
$stop-all.sh 如果出现no namenode stop则表示是namenode的问题
$hadoop namenode -format
$start-all.sh
4)其他。
转自:http://tjuximo.iteye.com/blog/1242350
1 0
- Hadoop— ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 5 time(s).
- org.apache.hadoop.ipc.Client: Retrying connect to server: localhost/127.0.0.1:7359. Already tried 7
- hadoop INFO ipc.Client: Retrying connect to server: master/192.168.0.45:54310. Already tried 0 time
- INFO ipc.Client: Retrying connect to server: hadoop01/192.168.2.10:8032. Already tried 0 time(s); r
- Retrying connect to server: :9000. Already tried 0 time(s)
- 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
- hadoop错误INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1
- org.apache.hadoop.ipc.Client - Retrying connect to server: 0.0.0.0/0.0.0.0:10020. Already tried 0 ti
- hadoop启动之后出现错误:Retrying connect to server: hadoop/192.168.73.100:9000. Already tried 0 time(s);
- hadoop 启动错误解决办法Retrying connect to server: master/192.168.1.240:9000. Already tried 0 time(s)
- hadoop 启动错误解决办法Retrying connect to server: master/192.168.1.240:9000. Already tried 0 time(s)
- hadoop HA模式重新格式化出现错误:INFO ipc.Client: Retrying connect to server:***:8485. Already
- 单机hbase无法启动:Retrying connect to server: node1/10.40.0.201:9000. Already tried 0 time(s).
- 解决Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0 time(s); retry policy is...
- org.apache.hadoop.ipc.Client: Retrying connect to server
- org.apache.hadoop.ipc.Client: Retrying connect to server
- hadoop Client: Retrying connect to server
- Android 状态保存 生命周期 onSaveInstanceState onRestoreInstanceState 方法
- leetcode05- Longest Palindromic Substring之Java版本
- 学习库
- HTTP 403
- Android系统组件之Activity的生命周期
- Hadoop— ipc.Client: Retrying connect to server: localhost/127.0.0.1:8020. Already tried 5 time(s).
- 判读鼠标是否在UI上
- Android的setVisibility(View.GONE)无效的问题及原因分析
- Okhttp和Picasso配合使用外加ACache实现缓存
- 常见的八种导致 APP 内存泄漏的问题
- 深入理解Java的接口和抽象类
- Android线程与线程池
- 给飞驰的法拉利换引擎 - 谈边做业务边做架构重构(3)—— 运筹帷幄
- 一个CXF集成SPRING的WEBSERVICE完整实例