Repository: ambari Updated Branches: refs/heads/trunk c4114f645 -> c77b2c6a6
AMBARI-16276. Ambari build sometime fails on hudson (Python test issue).(vbrodetskyi) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c77b2c6a Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c77b2c6a Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c77b2c6a Branch: refs/heads/trunk Commit: c77b2c6a6296fd1fc71decd89dc762164a98e65e Parents: c4114f6 Author: Vitaly Brodetskyi <vbrodets...@hortonworks.com> Authored: Tue May 10 11:10:20 2016 +0300 Committer: Vitaly Brodetskyi <vbrodets...@hortonworks.com> Committed: Tue May 10 11:10:20 2016 +0300 ---------------------------------------------------------------------- ambari-server/src/main/python/ambari_server/ambariPath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/c77b2c6a/ambari-server/src/main/python/ambari_server/ambariPath.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/python/ambari_server/ambariPath.py b/ambari-server/src/main/python/ambari_server/ambariPath.py index 1d57558..940151c 100644 --- a/ambari-server/src/main/python/ambari_server/ambariPath.py +++ b/ambari-server/src/main/python/ambari_server/ambariPath.py @@ -26,7 +26,7 @@ import re AMBARI_SERVER_ROOT_ENV_VARIABLE = "ROOT" class AmbariPath(): - root_directory = os.environ[AMBARI_SERVER_ROOT_ENV_VARIABLE] + root_directory = os.getenv(AMBARI_SERVER_ROOT_ENV_VARIABLE, "/") @staticmethod def get(path):