[ https://issues.apache.org/jira/browse/SLIDER-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15541558#comment-15541558 ]
Gour Saha commented on SLIDER-1173: ----------------------------------- No matter what default you set to in the code, there will always be a different standard path in some flavor of OS. Hence this patch is not going to cover all such scenarios. That is why Slider has this feature, where you can specify any custom python path in your OS by setting the variable {{agent.python.exec.path}} in your app config, just as it is shown here - https://github.com/apache/incubator-slider/blob/develop/app-packages/tomcat/appConfig-default.json#L17 This should solve your problem. > PythonExecutor empty python binary path > --------------------------------------- > > Key: SLIDER-1173 > URL: https://issues.apache.org/jira/browse/SLIDER-1173 > Project: Slider > Issue Type: Bug > Components: agent > Affects Versions: Slider 0.90.2 > Reporter: Panagiotis Garefalakis > Attachments: python-path-fix.patch > > > Sliders Agent PythonExecutor is reading the python interpreter path either > from the environment or from the sys.executable method. If Python is unable > to retrieve the real path to its executable, sys.executable will be an empty > string. If the string is empty the agent is trying to run command like: > '', '-S', '/package/scripts/hbase_master.py', 'INSTALL', 'command-32.json', > ''PATH'/slider-hbase-app-package-1.2.3.zip/package', > 'structured-out-32.json', 'INFO', 'PATH'] > which is cause a weird Permission denied OSError. -- This message was sent by Atlassian JIRA (v6.3.4#6332)