Storm UI显示的Supervisor个数与实际启动的个数不符

博客讲述了Storm集群UI界面显示的Supervisor个数与实际不符的问题,正常应显示10个slot两个Supervisor,但实际只有一半。通过查询资料,按照博主操作清除storm.local.dir下的文件并重启集群,问题得到解决,节点信息恢复正常。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

我的问题能够解决来源于这两篇帖子 storm ui显示supervisor个数与实际不符的解决   storm ui显示supervisor个数与实际不符的解决

按理说我的集群UI界面应该显示10个slot两个Supervisor的,但是现在的数量只有实际开启数量的一半儿,明显是有问题的,查询了相关的资料后,发现自己的问题确实如上所说:

Try clearing the contents of storm.local.dir on both supervisors and restarting.  This happens often for me when I clone a supervisor to a new instance and forget to reset the state.
See this for more details: https://github.com/nathanmarz/storm/wiki/Troubleshooting


On Wednesday, December 11, 2013 10:43:11 AM UTC-6, thierry wrote:
Hi, all,
I just installed Storm and tried a little bit. I use 1 node for Zookeeper, 1 node for Nimbus and 2 nodes for Supervisors. After I started all of them, I can only see 1 supervisor up at the same time from the storm UI. If I fresh the UI again and again, the 1 supervisor which is displayed changes from 1 of the 2 to another. 

I tried read different manuals, blogs and guides, but failed to figure out why. Any idea?

This is my config for storm:
########### These MUST be filled in for a storm configuration
 storm.zookeeper.servers:
     - "compute-0-7"
#compute-0-7 is my zookeeper 
 
 nimbus.host: 10.1.1.1
 nimbus.childopts: "-Xmx1024m -Djava.net.preferIPv4Stack=true"

 ui.childopts: "-Xmx768m -Djava.net.preferIPv4Stack=true"

 supervisor.childopts: "-Djava.net.preferIPv4Stack=true"
 worker.childopts: "-Xmx768m -Djava.net.preferIPv4Stack=true"

 storm.zookeeper.port: 2181
 storm.local.dir: "/users/staff/xuntao/storm/tmp/storm"
 storm.cluster.mode: "distributed"
 java.library.path: "/users/staff/xuntao/storm/zeromq/lib:/users/staff/xuntao/storm/jzmq/lib"
 supervisor.slots.ports:
    - 6700
    - 6701
 supervisor.enable: true

按照博主的操作,清除storm.local.dir下的文件,再重启集群 

 

 删除文件后,重启集群,问题得到解决,节点信息恢复正常.

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值