WadeW
WadeW

Reputation: 1

Is there a way to determine which nodes in my Cassandra cluster are being use as coordinators?

I have a couple of nodes that are hotter than the rest. I would like to confirm that my driver is sending requests to multiple nodes. I would like to know who is doing the coordination task.

Upvotes: 0

Views: 252

Answers (2)

Chris Lohfink
Chris Lohfink

Reputation: 16420

Can use JMX (tools like sjk) and read the org.apache.cassandra.metrics:type=ClientRequest,scope=[Read/Write],name=Latency mbeans Count attribute.

Alternatively can check org.apache.cassandra.metrics:type=CQL,name=RegularStatementsExecuted and org.apache.cassandra.metrics:type=CQL,name=PreparedStatementsExecuted

Upvotes: 1

Related Questions