Quiz time
Q.1. State whether the following statements are true or false:
The Storm configurations are stored in
cluster.xml
.We can have only four workers allocated per supervisor.
The Zookeeper cluster always has an odd number of nodes.
Zookeeper needs a minimum of three snapshots to recover its state from failure.
A topology can continue to execute if Nimbus and the supervisor dies.
Q.2. Fill in the blanks:
_______________ is the average time a tuple takes to get processed and acked.
_______________ is the average time a tuple spends in the execute method.
The ____________ component is responsible for the recovery of the Storm cluster in the event of a failure.
Q.3. Execute the WordCount
topology on a three-node Storm cluster (one Nimbus and two supervisors) and then perform the following tasks:
Kill the Nimbus node while the topology is running—observe that the topology will not fail; it will continue unaffected.
Kill the supervisor while the topology is running—observe that the topology does not...