cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Brown (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-13916) Remove OpenJDK log warning
Date Fri, 01 Dec 2017 13:48:00 GMT


Jason Brown commented on CASSANDRA-13916:

On trunk, the {{StartupCheck}} we have is:

            String javaVmName = System.getProperty("");
            if (javaVmName.contains("OpenJDK"))
                // There is essentially no QA done on OpenJDK builds, and
                // clusters running OpenJDK have seen many heap and load issues.
                logger.warn("OpenJDK is not recommended. Please upgrade to the newest Oracle
Java release");
            else if (!javaVmName.contains("HotSpot"))
                logger.warn("Non-Oracle JVM detected.  Some features, such as immediate unmap
of compacted SSTables, may not work as intended");

If we get rid of the OpenJDK check, I suspect users will start seeing the next warning. OpenJDK's
{{-version}} prints this:

java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)

Should we get rid of both checks? Or just the first? I'm no OpenJDK expert, so I don't know
if that second warning applies. 

> Remove OpenJDK log warning
> --------------------------
>                 Key: CASSANDRA-13916
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Anthony Grasso
>            Priority: Minor
>              Labels: lhf
> The following warning message will appear in the logs when using OpenJDK
> {noformat}
> WARN  [main] ... OpenJDK is not recommended. Please upgrade to the newest Oracle Java
> {noformat}
> The above warning dates back to when OpenJDK 6 was released and there were some issues
in early releases of this version. The OpenJDK implementation is used as a reference for the
OracleJDK which means the implementations are very close. In addition, most users have moved
off Java 6 so we can probably remove this warning message.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message