Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

Shannu avatar image
Shannu asked ·

Why is DevCenter only connecting to one node?

I am trying to make use of devcenter for running cql queries and check their latencies. while i have added the node ips to the list of nodes, I think it should be connecting to all of them. Instead it is connecting to only one node at a time.

Am I doing something wrong

devcenter
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

The contact points (IPs of nodes in the cluster) you provide on the connection manager screen are exactly that -- they are used to contact the cluster and establish a connection.

Much like an app connecting to a cluster via the driver, the configured contact points are used by the driver to connect to the cluster.

DevCenter will try connect to the cluster using the node IPs provided one by one until it can establish a connection. Cheers!

2 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

When I try to establish connection individually they are connecting, but If I add more than one devcenter is only connecting to one of them

devcenter.png

0 Likes 0 · ·
devcenter.png (74.0 KiB)

That is by design. DevCenter will connect to the first node in the list which is available. Cheers!

0 Likes 0 · ·