You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2015/03/31 22:28:46 UTC

ambari git commit: AMBARI-10302. Oozie Client fails to install with 'java_version' is undefined (dlysnichenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk e1e479057 -> fcec84546


AMBARI-10302. Oozie Client fails to install with 'java_version' is undefined (dlysnichenko)


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

Branch: refs/heads/trunk
Commit: fcec84546ef6f2e37d16001855e1892758e3c624
Parents: e1e4790
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Tue Mar 31 23:21:14 2015 +0300
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Tue Mar 31 23:21:39 2015 +0300

----------------------------------------------------------------------
 .../common-services/OOZIE/4.0.0.2.0/package/scripts/params.py       | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/fcec8454/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py b/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py
index d1ad6df..e788eb2 100644
--- a/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py
+++ b/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py
@@ -137,6 +137,7 @@ oozie_env_sh_template = config['configurations']['oozie-env']['content']
 oracle_driver_jar_name = "ojdbc6.jar"
 
 java_home = config['hostLevelParams']['java_home']
+java_version = int(config['hostLevelParams']['java_version'])
 oozie_metastore_user_name = config['configurations']['oozie-site']['oozie.service.JPAService.jdbc.username']
 oozie_metastore_user_passwd = default("/configurations/oozie-site/oozie.service.JPAService.jdbc.password","")
 oozie_jdbc_connection_url = default("/configurations/oozie-site/oozie.service.JPAService.jdbc.url", "")