cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r1028914 - /cassandra/branches/cassandra-0.7/conf/cassandra-env.sh
Date Fri, 29 Oct 2010 21:39:30 GMT
Author: eevans
Date: Fri Oct 29 21:39:30 2010
New Revision: 1028914

URL: http://svn.apache.org/viewvc?rev=1028914&view=rev
Log:
make -Djava.net.preferIPv4Stack=true default

Patch by eevans for CASSANDRA-628

Modified:
    cassandra/branches/cassandra-0.7/conf/cassandra-env.sh

Modified: cassandra/branches/cassandra-0.7/conf/cassandra-env.sh
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/conf/cassandra-env.sh?rev=1028914&r1=1028913&r2=1028914&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/conf/cassandra-env.sh (original)
+++ cassandra/branches/cassandra-0.7/conf/cassandra-env.sh Fri Oct 29 21:39:30 2010
@@ -87,6 +87,11 @@ JVM_OPTS="$JVM_OPTS -XX:MaxTenuringThres
 JVM_OPTS="$JVM_OPTS -XX:CMSInitiatingOccupancyFraction=75"
 JVM_OPTS="$JVM_OPTS -XX:+UseCMSInitiatingOccupancyOnly"
 
+# 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:
+# comment out this entry to enable IPv6 support).
+JVM_OPTS="$JVM_OPTS -Djava.net.preferIPv4Stack=true"
+
 # jmx: metrics and administration interface
 # 
 # add this if you're having trouble connecting:



Mime
View raw message