Database Reference
In-Depth Information
Quiz time
Q.1. State whether the following statements are true or false:
1. The Storm configurations are stored in cluster.xml .
2. We can have only four workers allocated per supervisor.
3. The Zookeeper cluster always has an odd number of nodes.
4. Zookeeper needs a minimum of three snapshots to recover its state from failure.
5. A topology can continue to execute if Nimbus and the supervisor dies.
Q.2. Fill in the blanks:
1. _______________ is the average time a tuple takes to get processed and acked.
2. _______________ is the average time a tuple spends in the execute method.
3. 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 fail, it will continue unaffected. The workers will continue to execute with
Zookeeper co-ordination.
• Try various operations such as rebalance and deactivate from the Storm UI.
Search WWH ::




Custom Search