返回列表 发帖

Bad connection to DFS... command aborted

第一次可以连接datanode,但重启机子后就出现问题

[math@guet01 bin]$ start-dfs.sh
Starting namenode, logging to /home/math/hadoop-0.21.0/bin/../logs/hadoop-math-namenode-guet01.out
192.168.1.106: starting datanode, logging to /home/math/hadoop-0.21.0/bin/../logs/hadoop-math-datanode-guet02.out
192.168.1.107: starting datanode, logging to /home/math/hadoop-0.21.0/bin/../logs/hadoop-math-datanode-guet03.out
192.168.1.105: starting secondarynamenode, logging to /home/math/hadoop-0.21.0/bin/../logs/hadoop-math-secondarynamenode-guet01.out
[math@guet01 bin]$ start-mapred.sh
starting jobtracker, logging to /home/math/hadoop-0.21.0/bin/../logs/hadoop-math-jobtracker-guet01.out
192.168.1.107: starting tasktracker, logging to /home/math/hadoop-0.21.0/bin/../logs/hadoop-math-tasktracker-guet03.out
192.168.1.106: starting tasktracker, logging to /home/math/hadoop-0.21.0/bin/../logs/hadoop-math-tasktracker-guet02.out
[math@guet01 bin]$ jps
2279 NameNode
2687 Jps
2469 SecondaryNameNode
2584 JobTracker

[math@guet01 bin]$ hdfs dfsadmin -report
11/05/04 21:14:35 INFO security.Groups: Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping; cacheTimeout=300000
11/05/04 21:14:36 WARN conf.Configuration: mapred.task.id is deprecated. Instead, use mapreduce.task.attempt.id
11/05/04 21:14:37 INFO ipc.Client: Retrying connect to server: /192.168.1.105:10000. Already tried 0 time(s).
Bad connection to DFS... command aborted.
[math@guet01 bin]$ stop-all.sh
stopping namenode
192.168.1.106: no datanode to stop
192.168.1.107:
stopping datanode
192.168.1.105: stopping secondarynamenode
stopping jobtracker
192.168.1.106: stopping tasktracker
192.168.1.107: stopping tasktracker

分享到: QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友

返回列表