hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rammohan ganapavarapu <rammohanga...@gmail.com>
Subject Getting Permission denied to run shell action
Date Thu, 20 Oct 2016 23:32:39 GMT
Hi,

I have changed the yarn.nodemanager.local-dirs from default /tmp/ to
/data/tmp dir and from then i am getting this error



Cannot run program "test.sh" (in directory
"/data/tmp/nm-local-dir/usercache/hadoop/appcache/application_1476931300239_0003/container_1476931300239_0003_01_000002"):
error=13, Permission denied

Property in yarn-site.xml

${hadoop.tmp.dir}=/data/tmp/
<property>
 <name>yarn.nodemanager.local-dirs</name>
 <value>${hadoop.tmp.dir}/nm-local-dir</value>
</property>

Not sure why i am getting this error, i am submitting job wtih the same
user a directory owner,i have changed the ${hadoop.tmp.dir}=/tmp/ but oozie
still saying /data/* permission denied, i am not sure whats going on here,
can some one help me to figure it out?

Thanks,
Ram

Mime
View raw message