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 2016/03/17 15:36:41 UTC

ambari git commit: AMBARI-15464. [Ambari tarballs] ambari-server setup fails (aonishuk)

Repository: ambari
Updated Branches:
  refs/heads/trunk d7596e769 -> 670ad6f4c


AMBARI-15464. [Ambari tarballs] ambari-server setup fails  (aonishuk)


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

Branch: refs/heads/trunk
Commit: 670ad6f4c6dd66b0c75147b4b68a8576d5438d7e
Parents: d7596e7
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Thu Mar 17 16:36:34 2016 +0200
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Thu Mar 17 16:36:34 2016 +0200

----------------------------------------------------------------------
 ambari-server/src/main/python/ambari_server/serverConfiguration.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/670ad6f4/ambari-server/src/main/python/ambari_server/serverConfiguration.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/ambari_server/serverConfiguration.py b/ambari-server/src/main/python/ambari_server/serverConfiguration.py
index dc1fd8a..29187bd 100644
--- a/ambari-server/src/main/python/ambari_server/serverConfiguration.py
+++ b/ambari-server/src/main/python/ambari_server/serverConfiguration.py
@@ -325,7 +325,7 @@ class ServerConfigDefaults(object):
   
     self.JAVA_SHARE_PATH = "/usr/share/java"
     self.SHARE_PATH = "/usr/share"
-    self.OUT_DIR = parse_log4j_file("/etc/ambari-server/conf/log4j.properties")['ambari.log.dir']
+    self.OUT_DIR = parse_log4j_file(AmbariPath.get("/etc/ambari-server/conf/log4j.properties"))['ambari.log.dir']
     self.SERVER_OUT_FILE = os.path.join(self.OUT_DIR, "ambari-server.out")
     self.SERVER_LOG_FILE = os.path.join(self.OUT_DIR, "ambari-server.log")
     self.ROOT_FS_PATH = os.sep