博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
INFO org.apache.hadoop.ipc.RPC: Server at master/192.168.200.128:9000 not available yet, Zzzzz...
阅读量:7238 次
发布时间:2019-06-29

本文共 2579 字,大约阅读时间需要 8 分钟。

hadoop 启动时namenode和datanode可以启动,使用jps命令也可以看到进程,但是在浏览器中输入master:50070却没有显示datanode

查看datanode的log日志:

2016-
05-
06 
13:
22:
39,
899 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/
192.168.
200.128:
9000. Already tried 
1 
time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=
10, sleepTime=
1 SECONDS)
2016-
05-
06 
13:
22:
40,
901 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/
192.168.
200.128:
9000. Already tried 
2 
time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=
10, sleepTime=
1 SECONDS)
2016-
05-
06 
13:
22:
41,
903 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/
192.168.
200.128:
9000. Already tried 
3 
time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=
10, sleepTime=
1 SECONDS)
2016-
05-
06 
13:
22:
42,
905 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/
192.168.
200.128:
9000. Already tried 
4 
time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=
10, sleepTime=
1 SECONDS)
2016-
05-
06 
13:
22:
43,
907 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/
192.168.
200.128:
9000. Already tried 
5 
time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=
10, sleepTime=
1 SECONDS)
2016-
05-
06 
13:
22:
44,
908 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/
192.168.
200.128:
9000. Already tried 
6 
time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=
10, sleepTime=
1 SECONDS)
2016-
05-
06 
13:
22:
45,
910 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/
192.168.
200.128:
9000. Already tried 
7 
time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=
10, sleepTime=
1 SECONDS)
2016-
05-
06 
13:
22:
49,
236 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/
192.168.
200.128:
9000. Already tried 
8 
time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=
10, sleepTime=
1 SECONDS)
2016-
05-
06 
13:
22:
50,
238 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/
192.168.
200.128:
9000. Already tried 
9 
time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=
10, sleepTime=
1 SECONDS)

2016-05-06 13:22:50,240 INFO org.apache.hadoop.ipc.RPC: Server at master/192.168.200.128:9000 not available yet, Zzzzz... 

 发现连接不上namenode。

所以在master(也就是namenode)中配置etc/hosts文件,将120.0.0.1 master注释掉,然后添加192.168.200.131 master(如果不注释可能会优先匹配),重新hadoop namenode -format 然后启动就可以了。 

 

转载于:https://www.cnblogs.com/vincent4code/p/5465271.html

你可能感兴趣的文章
Can't locate Switch.pm in INC的解决
查看>>
对HashMap的思考及手写实现
查看>>
git 命令大全
查看>>
“入乡随俗,服务为主” 发明者量化兼容麦语言啦!
查看>>
Spring MVC 到 Spring Boot 的简化之路
查看>>
想要去阿里面试?你必须得跨过 JVM 这道坎!
查看>>
Dubbo 实践,演进及未来规划
查看>>
拥有Schnorr签名的比特币现金
查看>>
iOS核心动画笔记1-图层的树状结构
查看>>
我的友情链接
查看>>
linux 的文件类型总结文档
查看>>
[扩展推荐]Laravel User Agent 轻松识别客户端信息
查看>>
MySQL5.5 Hot Backup Config
查看>>
计算机是如何做加法的?(6)——最终的半加器
查看>>
我的友情链接
查看>>
python 学习 apply规则
查看>>
Linux系统手动格式化大于2TB数据盘操作指引
查看>>
【VMCloud云平台进阶篇】Monitor监控(一)
查看>>
mongodb---安装和设置(服务器端)
查看>>
Ubuntu10.10下编译安装vim 7.3
查看>>