cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Tamme (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-2329) comment topology file about ipv6 configuration
Date Tue, 15 Mar 2011 16:43:29 GMT
comment topology file about ipv6 configuration
----------------------------------------------

                 Key: CASSANDRA-2329
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2329
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
    Affects Versions: 0.7.3
         Environment: all
            Reporter: Eric Tamme
            Priority: Trivial
             Fix For: 0.7.4


There is little documentation regarding ipv6 working with cassandra.  For the cassandra propertyfilesnitch
to work with ipv6, the ipv6 addresses must have the colons escaped due to the parsing characteristics
of java.util.Properties.load().

Adding this documentation to the cassandra-topology.properties file would be nice so that
people dont have to hunt through source code and java doc to figure out how to configure topology.

Here is a simple patch that will alert users to how to config topology for ipv6 use.

34a35,39
> # Native IPv6 is supported, however you must escape the : in the IPv6 Address
> # Also be sure to comment out JVM_OPTS="$JVM_OPTS -Djava.net.preferIPv4Stack=true"
> # in cassandra-env.sh
> fe80\:0\:0\:0\:202\:b3ff\:fe1e\:8329=DC1:RAC3
> 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message