首页 新闻 赞助 找找看

hadoop mapreduce 问题,出现错误

0
悬赏园豆:100 [待解决问题]

报错为:

[root@wzq116 /]#  hadoop jar /usr/bin/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.1.0.jar wordcount /j /out
2018-05-22 09:29:16,409 INFO mapreduce.JobResourceUploader: Disabling Erasure Coding for path: /history/root/.staging/job_1526978669314_0004
2018-05-22 09:29:16,775 INFO input.FileInputFormat: Total input files to process : 1
2018-05-22 09:29:17,060 INFO mapreduce.JobSubmitter: number of splits:1
2018-05-22 09:29:17,371 INFO Configuration.deprecation: yarn.resourcemanager.zk-address is deprecated. Instead, use hadoop.zk.address
2018-05-22 09:29:17,373 INFO Configuration.deprecation: yarn.resourcemanager.system-metrics-publisher.enabled is deprecated. Instead, use yarn.system-metrics-publisher.enabled
2018-05-22 09:29:18,036 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1526978669314_0004
2018-05-22 09:29:18,038 INFO mapreduce.JobSubmitter: Executing with tokens: []
2018-05-22 09:29:18,358 INFO conf.Configuration: resource-types.xml not found
2018-05-22 09:29:18,358 INFO resource.ResourceUtils: Unable to find 'resource-types.xml'.
2018-05-22 09:29:18,507 INFO impl.YarnClientImpl: Submitted application application_1526978669314_0004
2018-05-22 09:29:18,573 INFO mapreduce.Job: The url to track the job: http://wzq116:8088/proxy/application_1526978669314_0004/
2018-05-22 09:29:18,573 INFO mapreduce.Job: Running job: job_1526978669314_0004
2018-05-22 09:29:36,788 INFO mapreduce.Job: Job job_1526978669314_0004 running in uber mode : false
2018-05-22 09:29:36,789 INFO mapreduce.Job:  map 0% reduce 0%
2018-05-22 09:29:36,802 INFO mapreduce.Job: Job job_1526978669314_0004 failed with state FAILED due to: Application application_1526978669314_0004 failed 2 times due to AM Container for appattempt_1526978669314_0004_000002 exited with  exitCode: 1
Failing this attempt.Diagnostics: [2018-05-22 09:29:34.075]Exception from container-launch.
Container id: container_1526978669314_0004_02_000001
Exit code: 1

[2018-05-22 09:29:34.080]Container exited with a non-zero exit code 1. Error file: prelaunch.err.
Last 4096 bytes of prelaunch.err :
Last 4096 bytes of stderr :
log4j:WARN No appenders could be found for logger (org.apache.hadoop.mapreduce.v2.app.MRAppMaster).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.


[2018-05-22 09:29:34.086]Container exited with a non-zero exit code 1. Error file: prelaunch.err.
Last 4096 bytes of prelaunch.err :
Last 4096 bytes of stderr :
log4j:WARN No appenders could be found for logger (org.apache.hadoop.mapreduce.v2.app.MRAppMaster).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.


For more detailed output, check the application tracking page: http://wzq116:8088/cluster/app/application_1526978669314_0004 Then click on links to logs of each attempt.
. Failing the application.
2018-05-22 09:29:36,827 INFO mapreduce.Job: Counters: 0

 

启动的命令是: hadoop jar /usr/bin/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.1.0.jar wordcount /j /out

hadoop版本   3.1

系统 centos 7.4

请问这是什么问题,如何解决?配置文件的话 需要看的我会贴出来,新手求帮忙。。。

可以有偿,谢谢

Bap的主页 Bap | 初学一级 | 园豆:83
提问于:2018-05-22 17:36
< >
分享
所有回答(1)
0

提示的 http://wzq116:8088/cluster/app/application_1526978669314_0004  这里面有更详细的信息吗?

2012 | 园豆:21228 (高人七级) | 2018-05-23 08:18
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册