大資料篇:hadoop測試WordCount mapreduce出錯問題
阿新 • • 發佈:2018-11-10
[[email protected] ~]# hadoop jar /usr/local/hadoop-2.8.4/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.8.4.jar wordcount /data/wordcount /output/wordcount 18/11/02 11:51:25 INFO client.RMProxy: Connecting to ResourceManager at master/192.168.10.251:8032 18/11/02 11:51:28 INFO input.FileInputFormat: Total input files to process : 1 18/11/02 11:51:28 INFO mapreduce.JobSubmitter: number of splits:1 18/11/02 11:51:29 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1541130662162_0001 18/11/02 11:51:33 INFO impl.YarnClientImpl: Submitted application application_1541130662162_0001 18/11/02 11:51:33 INFO mapreduce.Job: The url to track the job: http://master:8088/proxy/application_1541130662162_0001/ 18/11/02 11:51:33 INFO mapreduce.Job: Running job: job_1541130662162_0001 18/11/02 11:51:36 INFO mapreduce.Job: Job job_1541130662162_0001 running in uber mode : false 18/11/02 11:51:36 INFO mapreduce.Job: map 0% reduce 0% 18/11/02 11:51:36 INFO mapreduce.Job: Job job_1541130662162_0001 failed with state FAILED due to: Application application_1541130662162_0001 failed 2 times due to Error launching appattempt_1541130662162_0001_000002. Got exception: org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to start container. This token is expired. current time is 1541153265787 found 1541131296285 Note: System times on machines may be out of sync. Check system time and time zones. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.instantiateExceptionImpl(SerializedExceptionPBImpl.java:171) at org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.instantiateException(SerializedExceptionPBImpl.java:182) at org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.deSerialize(SerializedExceptionPBImpl.java:106) at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.launch(AMLauncher.java:123) at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.run(AMLauncher.java:250) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) . Failing the application. 18/11/02 11:51:37 INFO mapreduce.Job: Counters: 0
歡迎各位的高見!