Skip to Content
Mastering Apache Cassandra 3.x - Third Edition
book

Mastering Apache Cassandra 3.x - Third Edition

by Aaron Ploetz, Tejaswi Malepati
October 2018
Beginner to intermediate content levelBeginner to intermediate
348 pages
10h
English
Packt Publishing
Content preview from Mastering Apache Cassandra 3.x - Third Edition

cassandra-topology.properties

The cassandra-topology.properties file is used with the PropertyFileSnitch. It is also used as a backup to GossipingPropertyFileSnitch. It contains a hard-coded list of every node in the cluster, including its IP address, data center, and rack definition.

For example:

# datacenter US Central 10.9.9.12=US-Central:central_13 10.9.19.22=US-Central:central_16 10.9.29.32=US-Central:central_19 # datacenter US West 10.4.4.16=US-West:west_14 10.4.14.26=US-West:west_2 10.4.24.36=US-West:west_27

Whenever a new node is added, it must be added to this file on every single node. In larger environments, this quickly becomes untenable. It can be especially tedious when employed in a frequently-scaling cloud environment.

While ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Apache Cassandra - Second Edition

Mastering Apache Cassandra - Second Edition

Nishant Neeraj

Publisher Resources

ISBN: 9781789131499Supplemental Content