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

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.
主站蜘蛛池模板: 重庆市| 土默特右旗| 上饶市| 滕州市| 乌拉特中旗| 白朗县| 保靖县| 抚顺市| 札达县| 敦化市| 犍为县| 塔城市| 上饶市| 京山县| 吉木萨尔县| 广汉市| 平利县| 鄂托克前旗| 新民市| 疏附县| 永吉县| 宿松县| 内江市| 株洲市| 枣阳市| 汤阴县| 安福县| 万全县| 白水县| 绥芬河市| 洪泽县| 镇赉县| 吴忠市| 额敏县| 安溪县| 太和县| 迁安市| 宜君县| 内黄县| 伽师县| 南昌市|