hadoop:跑网上的伪分布式wordcount出现问题

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
xph4444
帖子: 2
注册时间: 2009-08-08 22:33

hadoop:跑网上的伪分布式wordcount出现问题

#1

帖子 xph4444 » 2009-08-08 23:22

http://www.ibm.com/developerworks/cn/op ... index.html

前一天头几次跑这个伪分布式wordcount的时候都成功了,可是第二天再做的时候居然失败了!

当做到 $ bin/hadoop dfs -put ./test-in input 这一步时 会提示以下信息:


09/02/02 11:18:59 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 1 time(s).
09/02/02 11:19:00 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 2 time(s).
09/02/02 11:19:01 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 3 time(s).
09/02/02 11:19:02 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 4 time(s).
09/02/02 11:19:04 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 5 time(s).
09/02/02 11:19:05 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 6 time(s).
09/02/02 11:19:06 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 7 time(s).
09/02/02 11:19:07 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 8 time(s).
09/02/02 11:19:08 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 9 time(s).
09/02/02 11:19:09 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 10 time(s).
Bad connection to FS. command aborted

请问到底是怎么回事?
我在firestarter防火墙打开和关闭的情况下都不能成功。
而且我发现当输入java -version后并不会出现java 的信息,而是出现以下信息:

......(省略)
bash: java: command not found


但是以前都不会的,可我什么信息都没有修改呀
wjxz
帖子: 6
注册时间: 2010-08-10 16:42

Re: hadoop:跑网上的伪分布式wordcount出现问题

#2

帖子 wjxz » 2010-08-13 20:29

不是java的原因
回复