You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2013/12/03 15:17:36 UTC

[jira] [Updated] (AMBARI-3956) PYTHONPATH is not ajusted properly under SLES/RHEL5

     [ https://issues.apache.org/jira/browse/AMBARI-3956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Lysnichenko updated AMBARI-3956:
---------------------------------------

    Attachment: AMBARI-3956.patch

> PYTHONPATH is not ajusted properly under SLES/RHEL5
> ---------------------------------------------------
>
>                 Key: AMBARI-3956
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3956
>             Project: Ambari
>          Issue Type: Task
>          Components: agent
>    Affects Versions: 1.5.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-3956.patch
>
>
> Our rpms unpack all python modules to /usr/lib/python2.6/site-packages regardless on site-packages folder location under these systems. That's why resorce_management package can not be imported under these systems. We did not face this issue until now because ambari-agent shell script invokes python scripts by absolute path.
> The solution that will work with least changes is to export proper PYTHONPATH from an ambari-agent shell script.



--
This message was sent by Atlassian JIRA
(v6.1#6144)