Support Questions
Find answers, ask questions, and share your expertise

Storm Bolt Permission denied

Storm Bolt Permission denied

New Contributor

I have a python bolt wrapped in a java bolt the python bolt file path is /home/centos/prediction_encrypted.py.

After deploying the topology on the storm cluster the following error message is displayed :

 

java.lang.RuntimeException: Error when launching multilang subprocess /usr/bin/python2.7: can't open file '/home/centos/prediction_encrypted.py': [Errno 13] Permission denied at org.apache.storm. utils.ShellProcess.launch (ShellProcess.java:94) at org.apache.storm.task.ShellBolt.prepare (ShellBolt.java:150) at

 

 

I tried chmod 777 /home/centos/prediction_encrypted.py but the problem persists.