cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sn...@apache.org
Subject cassandra git commit: Cassandra Daemon should print JVM arguments
Date Fri, 11 Dec 2015 22:56:04 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 fc7075a41 -> dff221459


Cassandra Daemon should print JVM arguments

patch by Robert Stupp; reviewed by Michael Shuler for CASSANDRA-10764


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

Branch: refs/heads/cassandra-2.1
Commit: dff2214595c5e2b0b8f3781186df55bd90c6728c
Parents: fc7075a
Author: Robert Stupp <snazy@snazy.de>
Authored: Fri Dec 11 16:50:34 2015 -0600
Committer: Robert Stupp <snazy@snazy.de>
Committed: Fri Dec 11 16:50:34 2015 -0600

----------------------------------------------------------------------
 CHANGES.txt                                                | 1 +
 src/java/org/apache/cassandra/service/CassandraDaemon.java | 2 ++
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/dff22145/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 2ee8b07..96f2f4f 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.1.13
+ * Cassandra Daemon should print JVM arguments (CASSANDRA-10764)
  * Allow cancellation of index summary redistribution (CASSANDRA-8805)
  * Disable reloading of GossipingPropertyFileSnitch (CASSANDRA-9474)
  * Fix Stress profile parsing on Windows (CASSANDRA-10808)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/dff22145/src/java/org/apache/cassandra/service/CassandraDaemon.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/CassandraDaemon.java b/src/java/org/apache/cassandra/service/CassandraDaemon.java
index 17553f3..a27fa20 100644
--- a/src/java/org/apache/cassandra/service/CassandraDaemon.java
+++ b/src/java/org/apache/cassandra/service/CassandraDaemon.java
@@ -202,6 +202,8 @@ public class CassandraDaemon
             logger.info("{} {}: {}", pool.getName(), pool.getType(), pool.getPeakUsage());
         logger.info("Classpath: {}", System.getProperty("java.class.path"));
 
+        logger.info("JVM Arguments: {}", ManagementFactory.getRuntimeMXBean().getInputArguments());
+
         // Fail-fast if JNA is not available or failing to initialize properly
         // except with -Dcassandra.boot_without_jna=true. See CASSANDRA-6575.
         if (!CLibrary.jnaAvailable())


Mime
View raw message