装了个单机伪分布式做测试环境,莫名其炒地就各种Connection Refused
[penggl@localhost exe]$ ../bin/hadoop jar wbgdcmcc_dg.jar resplogcdrgenerator 20140821
14/09/16 09:52:55 INFO domain.RespLogCdrGeneratorDomain: inputPath:/logs/resplog/20140821
14/09/16 09:52:55 INFO domain.RespLogCdrGeneratorDomain: outputPath:/datas/respcdr/201408/20140821
14/09/16 09:52:57 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)
14/09/16 09:52:58 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)
14/09/16 09:52:59 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)
14/09/16 09:53:00 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/09/16 09:53:01 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/09/16 09:53:02 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/09/16 09:53:03 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/09/16 09:53:04 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/09/16 09:53:05 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
14/09/16 09:53:06 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
java.net.ConnectException: Call to localhost/127.0.0.1:9000 failed on connection exception: java.net.ConnectException: Connection refused
jps后发现namenode没在
19181 Jps
17148 TaskTracker
19129 SecondaryNameNode
18981 DataNode
2360 jar
17007 JobTracker
19894 DataNode
20058 SecondaryNameNode
2360 jar
19733 NameNode
20152 JobTracker
20343 Jps
20293 TaskTracker
[penggl@localhost hadoop-1.2.1]$ bin/hadoop dfsadmin -report
Configured Capacity: 474285277184 (441.71 GB)
Present Capacity: 418013261824 (389.31 GB)
DFS Remaining: 418013192192 (389.31 GB)
DFS Used: 69632 (68 KB)
DFS Used%: 0%
Under replicated blocks: 1
Blocks with corrupt replicas: 0
Missing blocks: 0
-------------------------------------------------
Datanodes available: 1 (1 total, 0 dead)
Name: 127.0.0.1:50010
Decommission Status : Normal
Configured Capacity: 474285277184 (441.71 GB)
DFS Used: 69632 (68 KB)
Non DFS Used: 56272015360 (52.41 GB)
DFS Remaining: 418013192192(389.31 GB)
DFS Used%: 0%
DFS Remaining%: 88.14%
Last contact: Tue Sep 16 10:54:24 CST 2014