运行hadoop自带的计算圆周率异常
Posted httpslly
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了运行hadoop自带的计算圆周率异常相关的知识,希望对你有一定的参考价值。
运行hadoop2 自带的圆周率计算方法时,报错,找了半天,原来是在配置hadoop临时目录时,没有给权限,找到配置的hadoop临时目录文件夹,修改权限即可
Application application_1548242073562_0005 failed 2 times due to AM Container for appattempt_1548242073562_0005_000002 exited with exitCode: 1 Failing this attempt.Diagnostics: [2019-01-23 20:50:53.319]Exception from container-launch. Container id: container_1548242073562_0005_02_000001 Exit code: 1 [2019-01-23 20:50:53.321]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.
以上是关于运行hadoop自带的计算圆周率异常的主要内容,如果未能解决你的问题,请参考以下文章