Gossip
ℹ️ For technical support, please contact us via email.
Explore gossip in the cluster
✅ Use nodetool to verify that both nodes are running:
/workspace/ds201-lab09/node1/bin/nodetool status
✅ Use nodetool to examine gossip:
/workspace/ds201-lab09/node1/bin/nodetool gossipinfo
Take note of the gossip information for both nodes as discussed in the lecture.
Note: Although the command retrieves the gossip info from node1, it also knows the gossip state of node2. Also take note of how the node state consists of key-values pairs as discussed in the slides.
✅ Run the nodetool gossipinfo
command several more times and check how the heartbeat values changes for both nodes.
✅ Run nodetool gossipinfo
on node2:
/workspace/ds201-lab09/node2/bin/nodetool gossipinfo
Verify whether the gossip information is the same as it is for node1, especially the status.