INFO org.apache.hadoop.ipc.RPC: Server at master/192.168.200.128:9000 not available yet, Zzzzz...
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                INFO org.apache.hadoop.ipc.RPC: Server at master/192.168.200.128:9000 not available yet, Zzzzz...
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                ? ?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 然后啟動就可以了。?
總結
以上是生活随笔為你收集整理的INFO org.apache.hadoop.ipc.RPC: Server at master/192.168.200.128:9000 not available yet, Zzzzz...的全部內容,希望文章能夠幫你解決所遇到的問題。
                            
                        - 上一篇: Spring MVC中 log4j日志文
 - 下一篇: mongodb导入json文件