速记
MR 作业无法提交,报错如下:
Application application_1524369213580_48409 failed 2 times due to AM Container for appattempt_1524369213580_48409_000002 exited with exitCode: -1000
For more detailed output, check application tracking page:http://yq-hadoop19:8088/proxy/application_1524369213580_48409/Then, click on links to logs of each attempt.
Diagnostics: Application application_1524369213580_48409 initialization failed (exitCode=255) with output: main : command provided 0
main : run as user is nobody
main : requested yarn user is root
Can't create directory /export1/yarn/nm/usercache/root/appcache/application_1524369213580_48409 - Permission denied
Can't create directory /export2/yarn/nm/usercache/root/appcache/application_1524369213580_48409 - Permission denied
Can't create directory /export3/yarn/nm/usercache/root/appcache/application_1524369213580_48409 - Permission denied
Can't create directory /export4/yarn/nm/usercache/root/appcache/application_1524369213580_48409 - Permission denied
Can't create directory /export5/yarn/nm/usercache/root/appcache/application_1524369213580_48409 - Permission denied
Can't create directory /export6/yarn/nm/usercache/root/appcache/application_1524369213580_48409 - Permission denied
Can't create directory /export7/yarn/nm/usercache/root/appcache/application_1524369213580_48409 - Permission denied
Can't create directory /export8/yarn/nm/usercache/root/appcache/application_1524369213580_48409 - Permission denied
Can't create directory /export9/yarn/nm/usercache/root/appcache/application_1524369213580_48409 - Permission denied
Can't create directory /export10/yarn/nm/usercache/root/appcache/application_1524369213580_48409 - Permission denied
Can't create directory /export11/yarn/nm/usercache/root/appcache/application_1524369213580_48409 - Permission denied
Can't create directory /export12/yarn/nm/usercache/root/appcache/application_1524369213580_48409 - Permission denied
Did not create any app directories
Failing this attempt. Failing the application.
解决办法:
删除所有数据节点目录下缓存文件,重新执行。