Cassandra pool warning displaying continuously
1
vote
1
answer
375
views
I am using the Cassandra driver for python in Spyder. I am trying to fetch some data from Cassandra table. Here is my code:
from cassandra.cluster import Cluster
cluster=Cluster(['some_ip'])
session=cluster.connect('some_key_space')
df_filtered_10m=session.execute("some query")
This is all working fine and I am getting the desired results. The problem is that in the console, this message is continuously popping up:
> WARNING:cassandra.pool:Error attempting to reconnect to 10.0.10.91,
> scheduling retry in 256.0 seconds: [Errno None] Tried connecting to
> [('10.0.10.91', 9042)]. Last error: timed out
I have tried
cluster.shutdown
but it not working as well.
How to get rid of it?
Asked by Osama Dar
(111 rep)
Sep 12, 2018, 05:19 AM
Last activity: Aug 2, 2025, 01:04 AM
Last activity: Aug 2, 2025, 01:04 AM