deb-sahara/sahara
Ethan Gafford 23cb825c0d [HDP] java64_home not pointing at default-installed JDK for plugin
At this time HDP's java64_home property defaults to /opt/jdk1.6.0_31.
However, the now-default openjdk element installs to /usr/lib/jvm/java-openjdk.
If nodes are connected to the internet at cluster spinup time, this does not
cause an overt error, but querying for JDK location will return error code 2,
resulting in no -j argument being passed to 'ambari-server setup -s', which in
turn will result in a download of Oracle's JDK and successful installation. In
the case that the nodes cannot connect to the internet (which should be a
success case with a pre-installed VM image,) cluster creation fails at this
stage.

This patch updates java64_home to the default JAVA_HOME from the openjdk
element.

Change-Id: I1d53db67341626190e7240f0ae4165f91d364a2c
Closes-bug: 1453165
2015-05-08 10:30:30 -04:00
..
api Adding .to_wrapped_dict to node_group_template update 2015-04-17 11:42:27 -04:00
cli Using oslo_* instead of oslo.* 2015-02-04 13:19:28 +03:00
conductor Move updating provision progress to conductor 2015-03-16 21:45:36 +04:00
db Merge "Fix InvalidRequestError being skipped" 2015-05-07 07:23:37 +00:00
locale Imported Translations from Transifex 2015-03-17 06:46:20 +00:00
openstack Migrate to oslo.policy lib instead of copy-pasted oslo-incubator 2015-04-06 10:13:51 +03:00
plugins [HDP] java64_home not pointing at default-installed JDK for plugin 2015-05-08 10:30:30 -04:00
service Merge "Storm EDP implementation" 2015-04-30 20:58:00 +00:00
swift Rewrite log levels and messages 2015-03-12 17:16:06 +03:00
tests Merge "Test coverage improvement for sahara.service.networks" 2015-05-08 13:04:24 +00:00
topology Rewrite log levels and messages 2015-03-12 17:16:06 +03:00
utils Merge "Storm EDP implementation" 2015-04-30 20:58:00 +00:00
__init__.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
config.py Add usages of poll util for service modules 2015-03-28 04:51:07 +00:00
context.py Merge "Support x-openstack-request-id" 2015-04-27 14:33:13 +00:00
exceptions.py Implement poll util and plugin poll util 2015-03-17 11:33:57 +03:00
i18n.py Using oslo_* instead of oslo.* 2015-02-04 13:19:28 +03:00
main.py Support x-openstack-request-id 2015-04-21 12:53:52 +03:00
version.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00