You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Shen Yinjie (JIRA)" <ji...@apache.org> on 2017/01/23 08:13:27 UTC

[jira] [Commented] (SLIDER-1173) PythonExecutor empty python binary path

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

Shen Yinjie commented on SLIDER-1173:
-------------------------------------

hi,[~pg1712@imperial.ac.uk] are you still working on this issue?if not ,I would like to take it over:)

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