nextuser 发表于 2013-10-25 10:44:06

Bad connection to DFS... command aborted

第一次可以连接datanode,但重启机子后就出现
$ 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
$ 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
$ jps
2279 NameNode
2687 Jps
2469 SecondaryNameNode
2584 JobTracker
$ 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.
$ 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
页: [1]
查看完整版本: Bad connection to DFS... command aborted