cloudera - YARN Application exited with exitCode: -1000 Not able to initialize user directories -


i getting:

application application_1427711869990_0001 failed 2 times due container appattempt_1427711869990_0001_000002 exited exitcode: -1000 due to: not able initialize user directories in of configured local directories user kailash .failing attempt.. failing application. 

i couldn`t find related exit code , associated reason. using hadoop 2.5.0 (cloudera 5.3.2).

actually due permission issues on of yarn local directories. started using linuxcontainerexecutor (in non secure mode nonsecure-mode.local-user kailash) , made corresponding changes. due (unknown) reason nodemanager failed clean local directories users, , there still existed directories previous user (in case yarn).

so solve this, first had find value of property yarn.nodemanager.local-dirs (with cloudera use search option find property yarn service, otherwise yarn-site.xml in hadoop conf directory), , delate files/directories under usercache node manager nodes. in case, used:

rm -rf /yarn/nm/usercache/* 

Comments

Popular posts from this blog

tcpdump - How to check if server received packet (acknowledged) -