Quiz time
Q.1. State whether the following statements are true or false.
Cassandra has a single point of failure.
A dead node is immediately detected in a Cassandra ring.
Gossip is a data exchange protocol.
The
decommission
andremovenode
commands are same.
Q.2. Fill in the blanks.
_______________ is the command used to run compactions.
_______________ is the command to get the information about a live node.
___________ is the command that displays the entire cluster information.
Q.3. Execute the following use case to see Cassandra high availability and replications:
Creating a 4-node Cassandra cluster.
Creating a keyspace with a replication factor of 3.
Bringing down a Cassandra daemon on one the nodes.
Executing
nestat
on each node to see the data streaming.