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

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

问题描述

我现在有一个由2个物理节点组成的风暴集群.我在节点1上运行storm nimbus,在节点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 ?

谢谢

推荐答案

可以,但是我不推荐.

在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应该能够恢复.如果您除了将节点1用作nimbus服务器之外,还使用它作为管理者,则会失去一些灵活性.

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和超级用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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