cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r769935 - /incubator/cassandra/trunk/test/cassandra.in.sh
Date Wed, 29 Apr 2009 21:10:37 GMT
Author: jbellis
Date: Wed Apr 29 21:10:37 2009
New Revision: 769935

URL: http://svn.apache.org/viewvc?rev=769935&view=rev
Log:
commit test/cassandra.in.sh for nosetests

Added:
    incubator/cassandra/trunk/test/cassandra.in.sh

Added: incubator/cassandra/trunk/test/cassandra.in.sh
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/test/cassandra.in.sh?rev=769935&view=auto
==============================================================================
--- incubator/cassandra/trunk/test/cassandra.in.sh (added)
+++ incubator/cassandra/trunk/test/cassandra.in.sh Wed Apr 29 21:10:37 2009
@@ -0,0 +1,37 @@
+
+cassandra_home=`dirname $0`/..
+
+# The directory where Cassandra's configs live (required)
+CASSANDRA_CONF=$cassandra_home/test/conf
+
+# This can be the path to a jar file, or a directory containing the 
+# compiled classes. NOTE: This isn't needed by the startup script,
+# it's just used here in constructing the classpath.
+cassandra_bin=$cassandra_home/build/classes
+#cassandra_bin=$cassandra_home/build/cassandra.jar
+
+# The java classpath (required)
+CLASSPATH=$CASSANDRA_CONF:$cassandra_bin
+
+for jar in $cassandra_home/lib/*.jar; do
+    CLASSPATH=$CLASSPATH:$jar
+done
+
+# Arguments to pass to the JVM
+JVM_OPTS=" \
+        -ea \
+        -Xdebug \
+        -Xrunjdwp:transport=dt_socket,server=y,address=8888,suspend=n \
+        -Xms128M \
+        -Xmx2G \
+        -XX:SurvivorRatio=8 \
+        -XX:TargetSurvivorRatio=90 \
+        -XX:+AggressiveOpts \
+        -XX:+UseParNewGC \
+        -XX:+UseConcMarkSweepGC \
+        -XX:CMSInitiatingOccupancyFraction=1 \
+        -XX:+CMSParallelRemarkEnabled \
+        -XX:+HeapDumpOnOutOfMemoryError \
+        -Dcom.sun.management.jmxremote.port=8080 \
+        -Dcom.sun.management.jmxremote.ssl=false \
+        -Dcom.sun.management.jmxremote.authenticate=false"



Mime
View raw message