Build Cloud-Native apps with Apache Cassandra

GOT QUESTIONS from the Workshop? You're in the right place! Post a question here and we'll get you answers.

Click here for Week 8 Materials and Homework.

Follow us on Eventbrite to get notified when new workshops are scheduled!


question

chmeghana03_193926 avatar image
chmeghana03_193926 asked ·

What are the names of tables that store peer data?

system.peers table by default returns the data of end point 127.0.0.1.Then how and where is the data about all the peers(rest of the endpoint nodes) stored at each node?

cassandraworkshop
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 ·

All the data about a node's peers are stored in each node's copy of the system.peers table.

In your case, you probably are running a special situation where all nodes have listen_address set to localhost (127.0.0.1) like the nodes in the DS201 VM from the DataStax Academy course. If so, you'll only be able to see 127.0.0.1 as each node's peer and it's not a true test. 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.

Not a problem. Cheers!

0 Likes 0 · ·