[email protected]:/export/scratch/yao/hadoop-1.2.1/bin$ ./hadoop fs -ls
16/03/10 14:05:35 INFO ipc.Client: Retrying connect to server: cs-spatial-210/ip address:5218. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/03/10 14:05:36 INFO ipc.Client: Retrying connect to server: cs-spatial-210/ip address:5218. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/03/10 14:05:37 INFO ipc.Client: Retrying connect to server: cs-spatial-210/ip address:5218. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
ls: Call to cs-spatial-210/ip address:5218 failed on connection exception: java.net.ConnectException: Connection refused
===============================================================================
还没开工,集群 就挂了,昨天还好好的,谁动了我的集群
于是乎,开启google、百度模式,答案都试了个变,log反复看,还是不行。尼玛,我去页面看看……
不看不知道,一看吓一跳,我的集群已成为了别人的集群。突然想起沙特大哥曾说过,不要采用默认端口,因为集群很多人用,容易冲突,好吧,我错了。更多文章点击这里查看
===============================================================================
把hdfs和map的端口重新配置了一遍,这下好了。nice!!!!!!!!!!!!!!!!!!!
大家都用这个集群,自己配置自己的,如果采用默认端口很容易产生冲突,更搞笑的是,我和一个哥们都选择了同一台集群作为master,这个机器有那么好吗?更多文章点击这里查看。