大数据篇:hadoop测试WordCount mapreduce出错问题

[root@master ~]# 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

欢迎各位的高见!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值