cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jasobr...@apache.org
Subject [1/4] cassandra git commit: Remove OpenJDK log warning
Date Sun, 03 Dec 2017 11:49:33 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-3.11 d2e4ce489 -> d577918ba
  refs/heads/trunk 95b43b195 -> 69052a055


Remove OpenJDK log warning

patch by jasobrown; reviewed by Jeff Jirsa for CASSANDRA-13916


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/d577918b
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/d577918b
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/d577918b

Branch: refs/heads/cassandra-3.11
Commit: d577918ba93fe9e761ca9fdbe1b4fe1f32dcac7b
Parents: d2e4ce4
Author: Jason Brown <jasedbrown@gmail.com>
Authored: Sat Dec 2 05:51:23 2017 -0800
Committer: Jason Brown <jasedbrown@gmail.com>
Committed: Sun Dec 3 03:47:02 2017 -0800

----------------------------------------------------------------------
 CHANGES.txt                                              | 1 +
 src/java/org/apache/cassandra/service/StartupChecks.java | 8 +-------
 2 files changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/d577918b/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index ce279f2..e26aeb8 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 3.11.2
+ * Remove OpenJDK log warning (CASSANDRA-13916)
  * Prevent compaction strategies from looping indefinitely (CASSANDRA-14079)
  * Cache disk boundaries (CASSANDRA-13215)
  * Add asm jar to build.xml for maven builds (CASSANDRA-11193)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/d577918b/src/java/org/apache/cassandra/service/StartupChecks.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/StartupChecks.java b/src/java/org/apache/cassandra/service/StartupChecks.java
index 372f5f9..3ccea5f 100644
--- a/src/java/org/apache/cassandra/service/StartupChecks.java
+++ b/src/java/org/apache/cassandra/service/StartupChecks.java
@@ -196,13 +196,7 @@ public class StartupChecks
                 logger.warn("32bit JVM detected.  It is recommended to run Cassandra on a
64bit JVM for better performance.");
 
             String javaVmName = System.getProperty("java.vm.name");
-            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"))
+            if (!(javaVmName.contains("HotSpot") || javaVmName.contains("OpenJDK")))
             {
                 logger.warn("Non-Oracle JVM detected.  Some features, such as immediate unmap
of compacted SSTables, may not work as intended");
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message