Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-2329

comment topology file about ipv6 configuration

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 0.7.5
    • Component/s: None
    • Labels:
      None
    • Environment:

      all

      Description

      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
      >

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              etamme Eric Tamme
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: