ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <>
Subject [jira] [Created] (AMBARI-3956) PYTHONPATH is not ajusted properly under SLES/RHEL5
Date Tue, 03 Dec 2013 14:15:37 GMT
Dmitry Lysnichenko created AMBARI-3956:

             Summary: PYTHONPATH is not ajusted properly under SLES/RHEL5
                 Key: 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

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

View raw message