Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cookbooks/impala/attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# 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.

default['java']['oracle']['accept_oracle_download_terms'] = true

# Postgres options
Expand Down