Skip to content

Conversation

@jbapple-cloudera
Copy link
Contributor

Oracle is no longer distributing JDK7 as freely.

I have not tested this.

Oracle is no longer distributing JDK7 as freely.

I have not tested this.
@jbapple-cloudera
Copy link
Contributor Author

@dtsirogiannis @dknupp @lekv Thought you might be interested.

# Java options
default['java']['install_flavor'] = 'oracle'
default['java']['jdk_version'] = '7'
default['java']['jdk_version'] = '8'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants