cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcken...@apache.org
Subject [3/3] cassandra git commit: (2.1+) Fix remote debugging configuration
Date Tue, 05 May 2015 18:27:52 GMT
(2.1+) Fix remote debugging configuration

Patch by blerer; reviewed by jmckenzie for CASSANDRA-9297


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

Branch: refs/heads/cassandra-2.1
Commit: 233ef3403a1654763f53de3ca2f92d1c82d16cf5
Parents: 95eb2a1
Author: Benjamin Lerer <benjamin.lerer@datastax.com>
Authored: Tue May 5 13:25:40 2015 -0500
Committer: Josh McKenzie <josh.mckenzie@datastax.com>
Committed: Tue May 5 13:25:40 2015 -0500

----------------------------------------------------------------------
 conf/cassandra-env.ps1 | 2 +-
 conf/cassandra-env.sh  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/233ef340/conf/cassandra-env.ps1
----------------------------------------------------------------------
diff --git a/conf/cassandra-env.ps1 b/conf/cassandra-env.ps1
index 7a71a13..6d9b8b1 100644
--- a/conf/cassandra-env.ps1
+++ b/conf/cassandra-env.ps1
@@ -384,7 +384,7 @@ Function SetCassandraEnvironment
     # $env:JVM_OPTS="$env:JVM_OPTS -Djava.library.path=<JEMALLOC_HOME>/lib/"
 
     # uncomment to have Cassandra JVM listen for remote debuggers/profilers on port 1414
-    # $env:JVM_OPTS="$env:JVM_OPTS -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1414"
+    # $env:JVM_OPTS="$env:JVM_OPTS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1414"
 
     # Prefer binding to IPv4 network intefaces (when net.ipv6.bindv6only=1). See
     # http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6342561 (short version:

http://git-wip-us.apache.org/repos/asf/cassandra/blob/233ef340/conf/cassandra-env.sh
----------------------------------------------------------------------
diff --git a/conf/cassandra-env.sh b/conf/cassandra-env.sh
index a2f86dd..2e22f7f 100644
--- a/conf/cassandra-env.sh
+++ b/conf/cassandra-env.sh
@@ -252,7 +252,7 @@ fi
 # JVM_OPTS="$JVM_OPTS -Djava.library.path=<JEMALLOC_HOME>/lib/"
 
 # uncomment to have Cassandra JVM listen for remote debuggers/profilers on port 1414
-# JVM_OPTS="$JVM_OPTS -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1414"
+# JVM_OPTS="$JVM_OPTS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1414"
 
 # uncomment to have Cassandra JVM log internal method compilation (developers only)
 # JVM_OPTS="$JVM_OPTS -XX:+UnlockDiagnosticVMOptions -XX:+LogCompilation"


Mime
View raw message