工人之间如何共享螺栓和喷口? [英] How bolts and spouts are shared among workers?

查看:89
本文介绍了工人之间如何共享螺栓和喷口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

比方说,我在Storm集群中有2个喷嘴和3个螺栓,并且有两个工作节点.将由这些工人共享这些喷嘴和螺栓(例如,第一个工人有1个喷嘴和2个螺栓,第二个工人有1个喷嘴和1个螺栓),或者每个工人有2个喷嘴和3个螺栓,最后有4个喷嘴和6个螺栓整个集群?

Let's say that I have 2 spouts and 3 bolts in Storm cluster and there are two worker nodes. Will be these spouts and bolts shared among these workers (for example first worker has 1 spout and 2 bolts, the second has 1 spout and 1 bolt) or each worker has 2 spouts and 3 bolts which ends up with 4 spouts and 6 bolts in whole cluster?

推荐答案

喷口和螺栓由您的所有群集共享(因此工作人员).

Spout and bolt are shared by all your cluster (so worker).

如果您有2个喷口和2个工人的3个螺栓,则这2个工人之间的平衡. 您可以使用ui(./nimbus ui)将其可视化:).

If you have 2 spouts and 3 bolts for 2 workers, they will be balanced between your 2 workers. You can use the ui (./nimbus ui) to visualise that :).

这篇关于工人之间如何共享螺栓和喷口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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