在集群模式下在同一个物理节点上运行 Storm nimbus 和 supervisor [英] Running Storm nimbus and supervisor on the same physical node in cluster mode

查看:21
本文介绍了在集群模式下在同一个物理节点上运行 Storm nimbus 和 supervisor的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在有一个包含 2 个物理节点的 Storm 集群.我在 node-1 上运行 storm nimbus,在 node-2 上运行 storm supervisor.看起来我所有的拓扑都只在节点 2(主管节点)上运行.我也应该在 node-1 上运行主管吗?

I've a storm cluster of 2 physical nodes right now. I'm running storm nimbus on node-1 and storm supervisor on node-2. Looks like all my topologies are running on running on node-2 (supervisor node) only. Should I run supervisor on node-1 as well ?

谢谢

推荐答案

你可以,但我不推荐它.

You could, but I wouldn't recommend it.

在 Storm 当前的设计中,nimbus 是一个单点故障(有计划解决这个问题),但是在与 nimbus 相同的节点上运行一个主管会使 nimbus 节点更有可能发生一些不好的事情,这将是对您的 Storm 集群来说是灾难性的.

In Storm's current design, nimbus is a single point of failure (there's plans to address this), but running a supervisor on the same node as nimbus makes it more likely that something bad might happen to the nimbus node, which would be catastrophic for your Storm cluster.

此外,Storm 的部分设计是工人和监督节点应该能够死亡,而 Storm 应该能够恢复.如果除了作为 nimbus 服务器之外,您还使用 node-1 作为主管,您将失去一些灵活性.

Further, part of Storm's design is that the workers and the supervisor nodes should be able to die and Storm should be able to recover. If you use your node-1 as a supervisor in addition to it being the nimbus server, you lose some of that flexibility.

最后,随着集群的增长,您的 nimbus 服务器将有很多事情要做,您希望它快速运行,这样它就不会减慢您的工作人员的速度,因为如果您不提供它,它可能会成为瓶颈充足的资源.

Finally, as your cluster grows, your nimbus server will have plenty to do on its own and you want it to operate quickly so it doesn't slow down your workers since it could be a bottleneck if you don't give it adequate resources.

这篇关于在集群模式下在同一个物理节点上运行 Storm nimbus 和 supervisor的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆