You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by fb...@apache.org on 2015/04/13 17:34:27 UTC

ambari git commit: AMBARI-10422 [WinTP2] Error executing HDP setup task results in file not found

Repository: ambari
Updated Branches:
  refs/heads/trunk e59089b40 -> b0d1c232a


AMBARI-10422 [WinTP2] Error executing HDP setup task results in file not found

Added missing parameter, which was invalidating the whole script


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

Branch: refs/heads/trunk
Commit: b0d1c232ae6a1e855fd9f4fcee1d4855727a9a9c
Parents: e59089b
Author: Florian Barca <fb...@hortonworks.com>
Authored: Mon Apr 13 08:34:22 2015 -0700
Committer: Florian Barca <fb...@hortonworks.com>
Committed: Mon Apr 13 08:34:22 2015 -0700

----------------------------------------------------------------------
 .../TEZ/0.4.0.2.1/package/scripts/params_windows.py                | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b0d1c232/ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/params_windows.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/params_windows.py b/ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/params_windows.py
index db34c9f..767ed1c 100644
--- a/ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/params_windows.py
+++ b/ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/params_windows.py
@@ -25,6 +25,8 @@ tez_user = "hadoop"
 tez_home_dir = None
 tez_conf_dir = "conf"
 
+hdp_root = os.path.abspath(os.path.join(os.environ["HADOOP_HOME"], ".."))
+
 if os.environ.has_key("TEZ_HOME"):
   tez_home_dir = os.environ["TEZ_HOME"]
   tez_conf_dir = os.path.join(tez_home_dir, "conf")