cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcken...@apache.org
Subject [1/6] cassandra git commit: Fix launch with whitespace in path on Windows
Date Wed, 06 Apr 2016 23:05:52 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.2 a33038be2 -> 96c53e0a5
  refs/heads/cassandra-3.0 424593205 -> 04a75a634
  refs/heads/trunk 1a73af768 -> bd633377a


Fix launch with whitespace in path on Windows

Patch by jmckenzie; reviewed by pmotta for CASSANDRA-11515


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

Branch: refs/heads/cassandra-2.2
Commit: 96c53e0a5e73046acb77e2ac2a3aa9d9ef64fc65
Parents: a33038b
Author: Josh McKenzie <josh.mckenzie@datastax.com>
Authored: Wed Apr 6 18:37:08 2016 -0400
Committer: Josh McKenzie <josh.mckenzie@datastax.com>
Committed: Wed Apr 6 18:37:08 2016 -0400

----------------------------------------------------------------------
 conf/cassandra-env.ps1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/96c53e0a/conf/cassandra-env.ps1
----------------------------------------------------------------------
diff --git a/conf/cassandra-env.ps1 b/conf/cassandra-env.ps1
index aff0d9e..321a9ca 100644
--- a/conf/cassandra-env.ps1
+++ b/conf/cassandra-env.ps1
@@ -425,7 +425,7 @@ Function SetCassandraEnvironment
     $env:JVM_OPTS="$env:JVM_OPTS -XX:+PrintPromotionFailure"
     # $env:JVM_OPTS="$env:JVM_OPTS -XX:PrintFLSStatistics=1"
 
-    $env:JVM_OPTS="$env:JVM_OPTS -Xloggc:$env:CASSANDRA_HOME/logs/gc.log"
+    $env:JVM_OPTS="$env:JVM_OPTS -Xloggc:""$env:CASSANDRA_HOME/logs/gc.log"""
     $env:JVM_OPTS="$env:JVM_OPTS -XX:+UseGCLogFileRotation"
     $env:JVM_OPTS="$env:JVM_OPTS -XX:NumberOfGCLogFiles=10"
     $env:JVM_OPTS="$env:JVM_OPTS -XX:GCLogFileSize=10M"


Mime
View raw message