Re: IPv6-only host, can't seem to get Cassandra to bind to a public port

2017-04-13 Thread Khaja, Raziuddin (NIH/NLM/NCBI) [C]
You are welcome Martjin! Glad to have been able to help ( Best, -Razi On 4/13/17, 12:13 PM, "Martijn Pieters" wrote: On 13/04/2017, 15:06, "Khaja, Raziuddin (NIH/NLM/NCBI) [C]" wrote: > Looking at your original message:

Re: IPv6-only host, can't seem to get Cassandra to bind to a public port

2017-04-13 Thread Martijn Pieters
On 13/04/2017, 15:06, "Khaja, Raziuddin (NIH/NLM/NCBI) [C]" wrote: > Looking at your original message: >

Re: IPv6-only host, can't seem to get Cassandra to bind to a public port

2017-04-13 Thread Khaja, Raziuddin (NIH/NLM/NCBI) [C]
Hi Martjin, Looking at your original message: http://www.mail-archive.com/user@cassandra.apache.org/msg51736.html I see you edited etc/cassandra/cassandra-env.sh, by changing: +#JVM_OPTS="$JVM_OPTS -Djava.net.preferIPv4Stack=true" +JVM_OPTS="$JVM_OPTS -Djava.net.preferIPv6Addresses=true"

Re: IPv6-only host, can't seem to get Cassandra to bind to a public port

2017-04-13 Thread Martijn Pieters
From my original email: http://www.mail-archive.com/user@cassandra.apache.org/msg51736.html: > My configuration changes: > > listen_address: > listen_interface_prefer_ipv6: true listen_interface is commented out. I've just now tried again with "# listen_interface_prefer_ipv6: false" (option

Re: IPv6-only host, can't seem to get Cassandra to bind to a public port

2017-04-12 Thread Khaja, Raziuddin (NIH/NLM/NCBI) [C]
Are you specifying both the listen_address and listen_interface, or just one of the two? Send, an example of the following 3 lines. Here is what I have on my 2.1.16 cluster that uses ipv6: listen_address: ::hhh::h::hhh:h # listen_interface: eth0 #

Re: IPv6-only host, can't seem to get Cassandra to bind to a public port

2017-04-12 Thread Martijn Pieters
From: "Khaja, Raziuddin (NIH/NLM/NCBI) [C]" > Maybe you have to escape the IPV6 addresses in the cassandra.yaml in the same > way. > I think it’s worth a try. Nope, no luck. You get an error instead: ERROR [main] 2017-04-12 20:03:46,899 CassandraDaemon.java:752 -

Re: IPv6-only host, can't seem to get Cassandra to bind to a public port

2017-04-12 Thread Khaja, Raziuddin (NIH/NLM/NCBI) [C]
See this note in cassandra-topology.properties: # Native IPv6 is supported, however you must escape the colon 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 Maybe

Re: IPv6-only host, can't seem to get Cassandra to bind to a public port

2017-04-12 Thread Martijn Pieters
From: sai krishnam raju potturi > We have included the IPV6 address with scope GLOBAL, and not IPV6 with SCOPE > LINK in the YAML and TOPOLOGY files.  > > inet6 addr: 2001: *** : ** : ** : * : * : :  Scope:Global > inet6 addr: fe80 :: *** : : :

Re: IPv6-only host, can't seem to get Cassandra to bind to a public port

2017-04-11 Thread sai krishnam raju potturi
We have included the IPV6 address with scope GLOBAL, and not IPV6 with SCOPE LINK in the YAML and TOPOLOGY files. inet6 addr: 2001: *** : ** : ** : * : * : : Scope:Global inet6 addr: fe80 :: *** : : : Scope:Link Not sure if this might be of relevance to the issue you

Re: IPv6-only host, can't seem to get Cassandra to bind to a public port

2017-04-11 Thread Martijn Pieters
From: sai krishnam raju potturi > I got a similar error, and commenting out the below line helped. > JVM_OPTS="$JVM_OPTS -Djava.net.preferIPv4Stack=true" > > Did you also include "rpc_interface_prefer_ipv6: true" in the YAML file? No luck at all here. Yes, I had commented

Re: IPv6-only host, can't seem to get Cassandra to bind to a public port

2017-04-11 Thread sai krishnam raju potturi
I got a similar error, and commenting out the below line helped. JVM_OPTS="$JVM_OPTS -Djava.net.preferIPv4Stack=true" Did you also include "rpc_interface_prefer_ipv6: true" in the YAML file? thanks Sai On Tue, Apr 11, 2017 at 6:37 AM, Martijn Pieters wrote: > I’m