incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Roberts (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-1779) Remove hard references to /usr/lib/pythonX.Y/site-packages from all files (shell scripts, java, poms, python)
Date Fri, 01 Nov 2013 13:20:19 GMT

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

Chad Roberts commented on AMBARI-1779:
--------------------------------------

+1, assuming that the above referenced "post install changes" will be addressed as well in
a separate JIRA.

> Remove hard references to /usr/lib/pythonX.Y/site-packages from all files (shell scripts,
java, poms, python)
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-1779
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1779
>             Project: Ambari
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 1.2.0
>         Environment: Fedora 
>            Reporter: Trevor McKay
>            Assignee: Trevor McKay
>         Attachments: AMBARI-1779.patch
>
>
> Hard references to /usr/lib/pythonX.Y/site-packages should be eliminated from the build
process and java/runtime scripts for portability.
> Any python modules in site-packages should be importable (ie, a proper package) and will
be found on the standard python path.  Therefore, any code that needs to be run from those
modules can be run with python wrapper scripts located in /usr/bin or /usr/sbin (for example)
without an explicit path reference.
> Python code in site-packages that is not importable should be made so and run from a
wrapper, or it should be relocated (to /usr/lib/exec/ambari, for example)



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

Mime
View raw message