Storm UI 拓扑不起作用 [英] Storm UI topology not working

查看:23
本文介绍了Storm UI 拓扑不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在 LocalCluster 中执行 Storm 拓扑.Storm 拓扑运行良好并且能够连接 Storm UI (8090).但是 Storm UI 没有显示正在运行的拓扑信息.

We are executing a Storm topology in LocalCluster. Storm topology is executing fine and able to connect Storm UI (8090). But Storm UI is not displaying the running topology information.

LocalCluster cluster = new LocalCluster();

并提交如下:

bin/storm jar bin/StormTest-0.0.1-SNAPSHOT.jar com.abzooba.storm.twitter.TwitterTopologyCreator Twitter

推荐答案

LocalCluster 没有 UI 支持...因此您看到的 UI 属于不同的 Storm 集群.

LocalCluster does not have UI support... Thus the UI you are seeing belongs to a different Storm cluster.

更准确地说:LocalCluster 并不是真正的集群;它是一个本地 JVM 进程,它执行整个拓扑(模拟真正的 Storm 集群).因此,bin/storm jar ... 不会将拓扑发送到任何集群,而是运行本地 JVM(我假设 bin/storm 块).如果你想提交到一个真正的集群(并获得一个 UI,你需要使用 StormSubmitter).

To be more precise: LocalCluster is not really a cluster; it's a local JVM process that executes the whole topology (mimicking a real Storm cluster). Thus, bin/storm jar ... does not send the topology to any cluster but runs a local JVM (I assume, that bin/storm blocks). If you want to submit to a real cluster (and get an UI, you need to use StormSubmitter).

这篇关于Storm UI 拓扑不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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