官术网_书友最值得收藏!

A high-level view of various components of Storm

In this section, we will get you acquainted with various components of Storm, their role, and their distribution in a Storm cluster.

A Storm cluster has three sets of nodes (which could be co-located, but are generally distributed in clusters), which are as follows:

  • Nimbus
  • Zookeeper
  • Supervisor

The following figure shows the integration hierarchy of these nodes:

A high-level view of various components of Storm

The detailed explanation of the integration hierarchy is as follows:

  • Nimbus node (master node, similar to Hadoop-JobTracker): This is the heart of the Storm cluster. You can say that this is the master daemon process that is responsible for the following:
    • Uploading and distributing various tasks across the cluster
    • Uploading and distributing the topology jars jobs across various supervisors
    • Launching workers as per ports allocated on the supervisor nodes
    • Monitoring the topology execution and reallocating workers whenever necessary
    • Storm UI is also executed on the same node
  • Zookeeper nodes: Zookeepers can be designated as the bookkeepers in the Storm cluster. Once the topology job is submitted and distributed from the Nimbus nodes, then even if Nimbus dies the topology would continue to execute because as long as Zookeepers are alive, the workable state is maintained and logged by them. The main responsibility of this component is to maintain the operational state of the cluster and restore the operational state if recovery is required from some failure. It's the coordinator for the Storm cluster.
  • Supervisor nodes: These are the main processing chambers in the Storm topology; all the action happens in here. These are daemon processes that listen and manage the work assigned. These communicates with Nimbus through Zookeeper and starts and stops workers according to signals from Nimbus.
主站蜘蛛池模板: 清水县| 德昌县| 吉林省| 徐闻县| 农安县| 白玉县| 万荣县| 项城市| 湄潭县| 肇州县| 万山特区| 阿克陶县| 托克逊县| 大庆市| 土默特右旗| 麻阳| 金寨县| 尚义县| 耒阳市| 洛隆县| 永顺县| 林周县| 克拉玛依市| 鸡西市| 乌鲁木齐县| 乾安县| 凤阳县| 肥城市| 南木林县| 郧西县| 天台县| 新巴尔虎左旗| 博客| 永福县| 和田县| 抚顺市| 大埔区| 邢台县| 阳原县| 石景山区| 塘沽区|