cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marek Kadek -T (mkadek - CONSOL PARTNERS LTD at Cisco)" <>
Subject Re: Connection refused -
Date Wed, 06 Dec 2017 08:18:43 GMT
Thanks for any ideas/hints, any straw is worth checking at this point ☺

Well, the clusters “work”, data is correctly stored and queries. I’m interested in why
it tries to open a gossip to localhost, and what kind of (performance) impact could this have
on clusters.
The env vars are correctly passed, and cassandra yaml seems to be correctly set. We are using
Cassandra docker image.

listen_address: (correct pod ip)
# listen_interface: eth0
# listen_interface_prefer_ipv6: false

It’s also observable with minikube and single C* node on local machine.

From: Lerh Chuan Low <>
Reply-To: "" <>
Date: Tuesday, December 5, 2017 at 11:14 PM
To: "" <>
Subject: Re: Connection refused -

I think as Jeff mentioned it sounds like a configuration issue, are you sure you are using
the same configmap/however it's being passed in and just throwing out ideas, maybe the pods
are behind a http proxy and you may have forgotten to pass in the env vars?

On 6 December 2017 at 08:45, Jeff Jirsa <<>>
I don't have any k8 clusters to test with, but do you know how your yaml translates to cassandra.yaml
? What are the listen/broadcast addresses being set?

On Tue, Dec 5, 2017 at 6:09 AM, Marek Kadek -T (mkadek - CONSOL PARTNERS LTD at Cisco) <<>>

We are experiencing following issues with Cassandra on our kubernetes clusters:


@ kubectl exec -it cassandra-cassandra-0 -- tail /var/log/cassandra/debug.log

DEBUG [MessagingService-Outgoing-localhost/] 2017-12-05 09:02:06,560
- Unable to connect to localhost/<> Connection refused

                at Method) ~[na:1.8.0_131]

                at ~[na:1.8.0_131]

                at ~[na:1.8.0_131]

                at ~[na:1.8.0_131]






Basically, it’s tons and tons of the same message over and over (on all clusters, all C*
nodes). It tries roughly 4-5 times a second to open a tcp connection to localhost (?) for

What we know:

- does not happen on Cassandra 3.0.15, but happen on 3.11.1 (same configuration).

- does happen even on minikube-single-Cassandra “cluster”.

- does not happen on docker-compose Cassandra cluster, only on kubernetes one.

Our configuration is pretty much this helm chart:

Do you have any idea what it could be related to?

View raw message