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?