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 <[email protected]> Authored: Tue Mar 31 23:21:14 2015 +0300 Committer: Lisnichenko Dmitro <[email protected]> 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", "")
