Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C7D8F102E1 for ; Tue, 3 Dec 2013 14:55:53 +0000 (UTC) Received: (qmail 88577 invoked by uid 500); 3 Dec 2013 14:55:39 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 88511 invoked by uid 500); 3 Dec 2013 14:55:37 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 88495 invoked by uid 99); 3 Dec 2013 14:55:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Dec 2013 14:55:36 +0000 Date: Tue, 3 Dec 2013 14:55:36 +0000 (UTC) From: "Dmitry Lysnichenko (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-3956) PYTHONPATH is not ajusted properly under SLES/RHEL5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-3956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry Lysnichenko resolved AMBARI-3956. ---------------------------------------- Resolution: Fixed committed to trunk > 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)