因为hadoop的配置上进行了一些修改(core,hdfs,mapred,-site.xml),刚配置完hadoop文本后
一、
[root@hadoop Desktop]# jps
10111 SecondaryNameNode
7811 TaskTracker
9900 NameNode
10007 DataNode
10190 JobTracker
10302 Jps
二、
root@hadoop Desktop]# hadoop fs -mkdir input
16/04/29 07:02:46 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:47 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:48 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:49 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:50 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:51 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:52 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:53 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:54 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:55 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
mkdir: Call to 192.168.86.136/192.168.86.136:9000 failed on connection exception: java.net.ConnectException: Connection refused
三、reboot
四、
成功运行workcount。
一、
[root@hadoop Desktop]# jps
10111 SecondaryNameNode
7811 TaskTracker
9900 NameNode
10007 DataNode
10190 JobTracker
10302 Jps
二、
root@hadoop Desktop]# hadoop fs -mkdir input
16/04/29 07:02:46 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:47 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:48 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:49 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:50 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:51 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:52 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:53 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:54 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
16/04/29 07:02:55 INFO ipc.Client: Retrying connect to server: 192.168.86.136/192.168.86.136:9000. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
mkdir: Call to 192.168.86.136/192.168.86.136:9000 failed on connection exception: java.net.ConnectException: Connection refused
三、reboot
四、
成功运行workcount。