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

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

问题描述

我们在 LocalCluster 中执行Storm拓扑。
风暴拓扑运行良好并且能够连接Storm UI(8090)。
但Storm UI未显示正在运行的拓扑信息。

  LocalCluster cluster = new LocalCluster(); 

并提交如下:

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


解决方案

LocalCluster 没有UI支持...因此您看到的用户界面属于到另一个Storm集群。更准确地说: LocalCluster 不是一个真正的集群;它是执行整个拓扑的本地JVM进程(模仿真正的Storm集群)。因此, bin / storm jar ... 不会将拓扑发送到任何集群,而是运行本地JVM(我假设 bin / storm blocks)。如果你想提交一个真正的集群(并获得一个UI,你需要使用 StormSubmitter )。


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();

and submitting like:

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

解决方案

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

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).

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

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