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

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.
主站蜘蛛池模板: 东宁县| 友谊县| 灌云县| 县级市| 茂名市| 韶关市| 黄大仙区| 通山县| 那曲县| 大埔区| 长岭县| 常德市| 白朗县| 甘孜县| 通州区| 策勒县| 石渠县| 赫章县| 阜新| 青河县| 隆林| 洪洞县| 星子县| 加查县| 博野县| 新田县| 四子王旗| 昭苏县| 济宁市| 莱芜市| 建德市| 新密市| 始兴县| 中阳县| 崇左市| 庆云县| 罗源县| 香河县| 潞西市| 安龙县| 广饶县|