[ https://issues.apache.org/jira/browse/SLIDER-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15541985#comment-15541985 ]
Panagiotis Garefalakis commented on SLIDER-1173: ------------------------------------------------ [~gsaha] Thanks for the reply, I totally agree, setting the path is more generic. But I think a condition checking if the python_bin is empty OR even logging the python_bin variable would be more helpful than just have 'Permission Denied' errors! Panagiotis > 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)