Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

pyspark anaconda error=13 permission denied

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

New Contributor

I solved the issue, by changing the group to hadoop 

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