Apache Storm - spout and bolts not present in Storm UI

孤街浪徒 提交于 2021-01-29 02:14:41

问题


I am developing a storm topology locally. I am using the Storm 0.9.2-incubating and have developed a simple Topology. When I deploy it using the LocalCluster() option, it works fine, but it will not show up in my Storm UI it just executes.

When I deploy it regularly, it will show the Topology in my Storm UI, but no spouts or bolts will be visible when I click it.

I have also tried this with example WordCountTopology that comes in many storm starter projects. The same behavior happens.

My question is really, why are the spouts and bolts not showing up? If you deploy a topology locally without using LocalCluser() option will that cause problems? Is it possible to deploy a topology on my local box and see it in Storm UI with all the spouts and bolts and not have it execute immediately, but wait for something such as a kafka message?


回答1:


Are you running Storm Supervisor? If you deploy a new topology and Supervisor isn't running the topology will show up in the UI but since its never initialized it doesn't show any stats when you click into it.



来源:https://stackoverflow.com/questions/28631697/apache-storm-spout-and-bolts-not-present-in-storm-ui

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!