[hadoop@mini3 ~]$ hadooop jar wordcount.jar cn.itcast.bigdata.mr.flCount.FlowCount /flowsum/input /flowsum/output
-bash: hadooop: command not found
[hadoop@mini3 ~]$ hadoop jar wordcount.jar cn.itcast.bigdata.mr.flCount.FlowCount /flowsum/input /flowsum/output
17/03/10 22:17:25 INFO client.RMProxy: Connecting to ResourceManager at mini1/192.168.2.11:8032
17/03/10 22:17:26 WARN mapreduce.JobResourceUploader: Hadoop command-line option parsing not performed. Implement the Tool interface and execute your application with ToolRunner to remedy this.
17/03/10 22:17:27 INFO input.FileInputFormat: Total input paths to process : 1
17/03/10 22:17:27 INFO mapreduce.JobSubmitter: number of splits:1
17/03/10 22:17:28 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1489144198384_0001
17/03/10 22:17:29 INFO impl.YarnClientImpl: Submitted application application_1489144198384_0001
17/03/10 22:17:29 INFO mapreduce.Job: The url to track the job: http://mini1:8088/proxy/application_1489144198384_0001/
17/03/10 22:17:29 INFO mapreduce.Job: Running job: job_1489144198384_0001
jps
jps
jps
jps
jps
jps
jps
jps
jps
jps
17/03/10 22:23:32 INFO mapreduce.Job: Job job_1489144198384_0001 running in uber mode : false
17/03/10 22:23:32 INFO mapreduce.Job: map 0% reduce 0%
17/03/10 22:23:32 INFO mapreduce.Job: Job job_1489144198384_0001 failed with state FAILED due to: Application application_1489144198384_0001 failed 2 times due to Error launching appattempt_1489144198384_0001_000002. Got exception: java.net.NoRouteToHostException: No Route to Host from mini1/192.168.2.11 to mini3:38707 failed on socket timeout exception: java.net.NoRouteToHostException: 没有到主机的路由; For more details see: http://wiki.apache.org/hadoop/NoRouteToHost
at sun.reflect.GeneratedConstructorAccessor21.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:791)
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:757)
at org.apache.hadoop.ipc.Client.call(Client.java:1473)
at org.apache.hadoop.ipc.Client.call(Client.java:1400)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)
at com.sun.proxy.$Proxy32.startContainers(Unknown Source)
at org.apache.hadoop.yarn.api.impl.pb.client.ContainerManagementProtocolPBClientImpl.startContainers(ContainerManagementProtocolPBClientImpl.java:96)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
at com.sun.proxy.$Proxy33.startContainers(Unknown Source)
at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.launch(AMLauncher.java:119)
at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.run(AMLauncher.java:251)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.net.NoRouteToHostException: 没有到主机的路由
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:530)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:494)
at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:608)
at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:706)
at org.apache.hadoop.ipc.Client$Connection.access$2800(Client.java:369)
at org.apache.hadoop.ipc.Client.getConnection(Client.java:1522)
at org.apache.hadoop.ipc.Client.call(Client.java:1439)
... 15 more