[ https://issues.apache.org/jira/browse/SLIDER-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15542527#comment-15542527 ]
Billie Rinaldi commented on SLIDER-1173: ---------------------------------------- [~pg1...@imperial.ac.uk], thanks for finding this issue. I agree we should have a more informative error in this case. [~gsaha], how would it be if we raised an exception when python_binary is empty, rather than assuming a particular path? > 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)