openjdk failure: Invalid -Xlog option / Invalid decorator 'utctime'

Bug #1752300 reported by Graham Leggett on 2018-02-28
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openjdk-9 (Ubuntu)
Undecided
Unassigned

Bug Description

When an attempt is made to deploy Elasticsearch debian package on an Ubuntu v16.04 xenial machine, elasticsearch refuses to start as follows:

Feb 28 10:54:22 els elasticsearch[1426]: [0.000s][error][logging] Invalid decorator 'utctime'.
Feb 28 10:54:22 els elasticsearch[1426]: Invalid -Xlog option '-Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m'
Feb 28 10:54:22 els elasticsearch[1426]: Error: Could not create the Java Virtual Machine.
Feb 28 10:54:22 els elasticsearch[1426]: Error: A fatal exception has occurred. Program will exit.

According to elasticsearch, ubuntu is using prerelease versions of openjdk in ubuntu (no idea if this is accurate or not): https://github.com/elastic/elasticsearch/issues/28780

If the people at elasticsearch are correct, please ensure that a proper GA version of openjdk is released on Ubuntu stable distributions.

tags: added: openjdk
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-9 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers