ubuntu安装hadoop注意(datenode连不上namenode)
2013-10-30 13:36
483 查看
datenode日志:
2013-10-30 10:40:00,753 INFO org.apache.hadoop.ipc.RPC: Server at prep-master/192.168.21.191:9000 not available yet, Zzzzz...
2013-10-30 10:40:02,754 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:03,755 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:04,756 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:05,757 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:06,758 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:07,758 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:08,759 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:09,760 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:10,761 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:11,762 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:11,762 INFO org.apache.hadoop.ipc.RPC: Server at prep-master/192.168.21.191:9000 not available yet, Zzzzz...
解决方法:
修改namenode上hosts文件:
#127.0.1.1 prep-master---------一定要注释掉
2013-10-30 10:40:00,753 INFO org.apache.hadoop.ipc.RPC: Server at prep-master/192.168.21.191:9000 not available yet, Zzzzz...
2013-10-30 10:40:02,754 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:03,755 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:04,756 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:05,757 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:06,758 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:07,758 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:08,759 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:09,760 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:10,761 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:11,762 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: prep-master/192.168.21.191:9000. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2013-10-30 10:40:11,762 INFO org.apache.hadoop.ipc.RPC: Server at prep-master/192.168.21.191:9000 not available yet, Zzzzz...
解决方法:
修改namenode上hosts文件:
#127.0.1.1 prep-master---------一定要注释掉
相关文章推荐
- Node.js 究竟是什么?
- cloneNode小结
- Hadoop Namenode 无法启动 总结一
- hdu 4587 TWO NODES (枚举+割点,5级)
- hdu 4587 TWO NODES (枚举+割点,5级)
- nodeJS 中文API node.js 中文文档
- WAS7 nodeAgent无法启动 找不到指定文件
- ROS的学习(六)理解ROS的节点(NODE)
- Mac下MonoDevelop中文乱码解决方法
- nodejs异步非阻塞IO及实例(cs)
- Hadoop 在格式化 namenode 时出现以下问题:
- Hadoop namenode无法启动
- nodeType 用法
- hadoop Namenode因硬盘写满无法启动
- YARN/MRv2 Node Manager深入剖析—节点健康状况检测
- Node.js, 使用 Buffers 操作,编码、解码,二进制数据。
- [JavaScript] 兼容IE、FireFox、Chrome等浏览器的xml处理函数(xml同步/异步加载、xsl转换、selectSingleNode、selectNodes)
- Nodejs获取本机地址
- leetcode: Swap Nodes in Pairs
- leetcode: Remove Nth Node From End of List