huangleisir
2015-07-19 16:24
ls: unknown host: imooc
同学你好,可以将在etc/hosts文件里加把imooc加进去,即加入“127.0.0.1 imooc",或者在hadoop的xml配置文件中将imooc替换为你的主机名即可
我输完
hadoop fs -ls /
提示的是
15/10/14 09:47:03 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/10/14 09:47:04 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/10/14 09:47:05 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
如果不CTRL+C就会一直跳
我也遇到这个问题了,怎么解决
认识Hadoop--基础篇
138835 学习 · 348 问题
相似问题