
上QQ阅读APP看书,第一时间看更新
Quiz time
Q.1. State whether the following statements are true or false:
- All Storm topologies are reliable.
- A topology generally has multiple spouts.
- A topology generally has multiple bolts.
- One bolt can emit on only one stream.
Q.2. Fill in the blanks:
- _______________ is the template to create the topology.
- _______________ specifies how many instances of a particular bolt or spout are spawned.
- The ___________ daemon of Storm is analogous to the job tracker of Hadoop.
Q.3. Perform the following task:
- Make changes to the
WordCount
topology of the Storm-starter project toRandomSentenceSpout
so that it's able to read sentences from a file at a specified location.