ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gustavo Romero <>
Subject OpenJDK 9 support
Date Wed, 14 Jun 2017 15:00:51 GMT

I'm trying to run Ambari with OpenJDK 9 and I've got an error regarding the new modules system:

# ambari-server start
Using python  /usr/bin/python
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Ambari database consistency check started...
Server PID at: /var/run/ambari-server/
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start.........Unable to determine server PID. Retrying...
......Unable to determine server PID. Retrying...
......Unable to determine server PID. Retrying...
ERROR: Exiting with exit code -1.
REASON: Ambari Server java process died with exitcode 1. Check /var/log/ambari-server/ambari-server.out
for more information.

/var/log/ambari-server/ambari-server.out file shows:

Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class
throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang"
to unnamed
module @381cad29
       at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(
       at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(
       at java.base/java.lang.reflect.Method.checkCanSetAccessible(
       at java.base/java.lang.reflect.Method.setAccessible(
       at java.base/ Method)

Is there any upstream fix for that issue or an open ticket for that? I could not find one
search for "ambari jdk9" on JIRA.

Thank you.

Best regards,

View raw message