Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

pyspark anaconda error=13 permission denied

avatar
New Contributor

hello everyone, 

 

it's been days that i'm trying to execute my spark program, using spark-submit on a HDP 2.6 , using anaconda 3.6 (on a cluster of 7 machines) , but i get the error 

 

Cannot run program "/root/anaconda3/bin/python": error=13 , permission denied

 

I am excuting the program as root , i did try some things 

I gave the 777 permission on the whole directory without result ,

however i can start pyspark , and spark-submit cmd without getting an error , what can i do please ?

 Thanks 

 

1 REPLY 1

avatar
New Contributor

I solved the issue, by changing the group to hadoop 

 chown -R root:hadoop /opt/anaconda3/bin/python