You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2014/02/20 23:36:24 UTC

git commit: AMBARI-4771. SLES: Ambari setup failed (aonishuk)

Repository: ambari
Updated Branches:
  refs/heads/trunk 4f2d45a61 -> 339cfb4cc


AMBARI-4771. SLES: Ambari setup failed (aonishuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/339cfb4c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/339cfb4c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/339cfb4c

Branch: refs/heads/trunk
Commit: 339cfb4cc33cb27651ca21210e7360ff742527ac
Parents: 4f2d45a
Author: Andrew Onischuk <ao...@hortonworks.com>
Authored: Thu Feb 20 14:31:48 2014 -0800
Committer: Andrew Onischuk <ao...@hortonworks.com>
Committed: Thu Feb 20 14:31:48 2014 -0800

----------------------------------------------------------------------
 ambari-server/sbin/ambari-server | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/339cfb4c/ambari-server/sbin/ambari-server
----------------------------------------------------------------------
diff --git a/ambari-server/sbin/ambari-server b/ambari-server/sbin/ambari-server
index b196256..55cc3a9 100644
--- a/ambari-server/sbin/ambari-server
+++ b/ambari-server/sbin/ambari-server
@@ -38,6 +38,9 @@ esac
 export PATH=/usr/lib/ambari-server/*:$PATH
 export AMBARI_CONF_DIR=/etc/ambari-server/conf:$PATH
 
+# Because Ambari rpm unpacks modules here on all systems
+export PYTHONPATH=/usr/lib/python2.6/site-packages:$PYTHONPATH
+
 if [ -a /usr/bin/python2.6 ]; then
   PYTHON=/usr/bin/python2.6
 fi