Open
Conversation
Oracle is no longer distributing JDK7 as freely. I have not tested this.
Contributor
Author
|
@dtsirogiannis @dknupp @lekv Thought you might be interested. |
dknupp
reviewed
Jul 10, 2017
| # Java options | ||
| default['java']['install_flavor'] = 'oracle' | ||
| default['java']['jdk_version'] = '7' | ||
| default['java']['jdk_version'] = '8' |
Contributor
There was a problem hiding this comment.
I tried the same thing, but saw a similar error as with version 7. (OTOH, switching to openjdk did work.)
10:21:10 �[0m recipe_name "oracle"
10:21:10 �[0m url "http://download.oracle.com/otn-pub/java/jdk/8u31-b13/jdk-8u31-linux-x64.tar.gz"
10:21:10 �[0m default true
10:21:10 �[0m checksum "173e24bc2d5d5ca3469b8e34864a80da"
10:21:10 �[0m app_home "/usr/lib/jvm/java-8-oracle-amd64"
10:21:10 �[0m bin_cmds ["appletviewer", "apt", "ControlPanel", "extcheck", "idlj", "jar", "jarsigner", "java", "javac", "javadoc", "javafxpackager", "javah", "javap", "javaws", "jcmd", "jconsole", "jcontrol", "jdb", "jdeps", "jhat", "jinfo", "jjs", "jmap", "jmc", "jps", "jrunscript", "jsadebugd", "jstack", "jstat", "jstatd", "jvisualvm", "keytool", "native2ascii", "orbd", "pack200", "policytool", "rmic", "rmid", "rmiregistry", "schemagen", "serialver", "servertool", "tnameserv", "unpack200", "wsgen", "wsimport", "xjc"]
10:21:10 �[0m alternatives_priority 1062
10:21:10 �[0m connect_timeout 600
10:21:10 �[0m owner "root"
10:21:10 �[0mend
10:21:10 �[0m
10:21:10 �[0m[2017-07-10T10:21:10-07:00] INFO: Running queued delayed notifications before re-raising exception
10:21:10 [2017-07-10T10:21:10-07:00] ERROR: Running exception handlers
10:21:10 [2017-07-10T10:21:10-07:00] ERROR: Exception handlers complete
10:21:10 [2017-07-10T10:21:10-07:00] FATAL: Stacktrace dumped to /tmp/tmp.SIQUhrmk7q/impala-setup/chef-stacktrace.out
10:21:10 [2017-07-10T10:21:10-07:00] ERROR: java_ark[jdk] (java::oracle line 53) had an error: SystemExit: exit
10:21:10 [2017-07-10T10:21:10-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
I did happen to notice that our java cookbook is way behind what appears to be its source:
https://github.com/agileorbit-cookbooks/java.git
I was also experimenting with rebasing against that, but haven't got that to work yet either.
Contributor
There was a problem hiding this comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Oracle is no longer distributing JDK7 as freely.
I have not tested this.