Real-time Analytics with Storm and Cassandra
上QQ阅读APP看书,第一时间看更新

Quiz time

Q.1. State whether the following statements are true or false:

  1. All Storm topologies are reliable.
  2. A topology generally has multiple spouts.
  3. A topology generally has multiple bolts.
  4. One bolt can emit on only one stream.

Q.2. Fill in the blanks:

  1. _______________ is the template to create the topology.
  2. _______________ specifies how many instances of a particular bolt or spout are spawned.
  3. The ___________ daemon of Storm is analogous to the job tracker of Hadoop.

Q.3. Perform the following task:

  1. Make changes to the WordCount topology of the Storm-starter project to RandomSentenceSpout so that it's able to read sentences from a file at a specified location.