YARN执行 mapreduce出错,不知道咋办了
2018-07-12 11:52:35,961 INFO mapreduce.Job: Job job_1531367090244_0001 running in uber mode : false
2018-07-12 11:52:35,962 INFO mapreduce.Job: map 0% reduce 0%
2018-07-12 11:52:35,994 INFO mapreduce.Job: Job job_1531367090244_0001 failed with state FAILED due to: Application application_1531367090244_0001 failed 2 times due to AM Container for appattempt_1531367090244_0001_000002 exited with exitCode: 1
Failing this attempt.Diagnostics: [2018-07-12 11:52:34.865]Exception from container-launch.
Container id: container_e66_1531367090244_0001_02_000001
Exit code: 1
[2018-07-12 11:52:34.891]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-07-12 11:52:34.892]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://hd6.wzw.com:8088/cluster/app/application_1531367090244_0001 Then click on links to logs of each attempt.
. Failing the application.
2018-07-12 11:52:36,020 INFO mapreduce.Job: Counters: 0
2018-07-12 11:52:35,962 INFO mapreduce.Job: map 0% reduce 0%
2018-07-12 11:52:35,994 INFO mapreduce.Job: Job job_1531367090244_0001 failed with state FAILED due to: Application application_1531367090244_0001 failed 2 times due to AM Container for appattempt_1531367090244_0001_000002 exited with exitCode: 1
Failing this attempt.Diagnostics: [2018-07-12 11:52:34.865]Exception from container-launch.
Container id: container_e66_1531367090244_0001_02_000001
Exit code: 1
[2018-07-12 11:52:34.891]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-07-12 11:52:34.892]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://hd6.wzw.com:8088/cluster/app/application_1531367090244_0001 Then click on links to logs of each attempt.
. Failing the application.
2018-07-12 11:52:36,020 INFO mapreduce.Job: Counters: 0
...全文
相关推荐
MapReduce\Yarn架构
每个MapReduce作业在YARN中都有一个独立的ApplicationMaster,它与ResourceManager协商资源并监督任务执行。
Cloudera的yarn任务监控api
在MapReduce中,MR Application Master(AM)负责协调任务执行,而MR History Server则保存和提供作业的历史信息。
03_MapReduce 和Spark on YARN.docx
在YARN上部署MapReduce和Spark,作业通过客户端提交给YARN的资源管理器,资源管理器根据作业的资源需求分配任务到工作节点上的容器中执行。
YARN Moving beyond MapReduce and Batch Processing with Apache Hadoop
每个应用程序可以拥有自己独立的ApplicationMaster,ApplicationMaster负责管理应用程序的执行,与ResourceManager协调资源,与NodeManager协同任务的执行
Hadoop新MapReduce框架Yarn详解
Hadoop MapReduce框架,作为大数据处理的核心组件,自其早期版本0.20.0以来,因其简单明了的设计和广泛应用获得了成功。然而,随着分布式系统规模的扩大和负载增长,原MapReduce框架


