Are there any possibilities to get all hosts from the cassandra cluster via client API. I know that we can use the nodetool to ring all nodes from the console, and NodeCmd for JMX access for the same functionality, but I need just a list of hosts and ips, like ConnectionPool for Hector Client API
Are there any possibilities to get all hosts from the cassandra cluster via client
Share
You can call the describe_ring Thrift method, or (in 1.2)
SELECT * FROM system.peers