[ 
https://issues.apache.org/jira/browse/SLIDER-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15542792#comment-15542792
 ] 

Gour Saha commented on SLIDER-1173:
-----------------------------------

[~pgaref] you are right that perm denied error is not friendly. As 
[~billie.rinaldi] recommended, raising an exception is a better approach. 

> 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)

Reply via email to