Apache storm Storm Cluster UI Rest API未按文档所述运行
我一直在探索Storm UI的RESTAPI是否可以用于提取有关拓扑配置(螺栓位置)的详细信息。是源双元素。我们正在运行Storm的1.0.1版 这将按预期显示拓扑的摘要Apache storm Storm Cluster UI Rest API未按文档所述运行,apache-storm,Apache Storm,我一直在探索Storm UI的RESTAPI是否可以用于提取有关拓扑配置(螺栓位置)的详细信息。是源双元素。我们正在运行Storm的1.0.1版 这将按预期显示拓扑的摘要 http://0.0.0.0:9099/api/v1/topology/summary 其中“0.0.0.0”是服务器的占位符 在上述总结中,拓扑ID为“sdp-acs-cit-why-12500-why-12500-cit-why-cit-service-why_拓扑-1-1500659867” 这就是我所期望的。但是,这
http://0.0.0.0:9099/api/v1/topology/summary
其中“0.0.0.0”是服务器的占位符
在上述总结中,拓扑ID为“sdp-acs-cit-why-12500-why-12500-cit-why-cit-service-why_拓扑-1-1500659867”
这就是我所期望的。但是,这并不奏效:
http://0.0.0.0:9099/api/v1/topology-workers:sdp-acs-cit-why-12500-why-12500-cit-why-cit-service-WHY_TOPOLOGY-1-1500659867
路由/拓扑:id与上述id也不相同
有人用过吗
错误消息显示:
NotAliveException(msg::sdp-acs-cit-why-12500-why-12500-cit-why-cit-service-why_拓扑图-1-1500659867)
这让我怀疑Storm是否被错误配置了。只要运行拓扑,Storm就会按预期运行。这是我们想要的 文档中显示的冒号不正确。在拓扑ID之前只应使用斜杠
.../topology-workers/sdp-acs-...
.../topology/sdp-acs-...
两者都有效 你应该这样做
http://host:port/api/v1/topology/id
id
是sdp-acs-cit-why-12500-why-12500-cit-why-cit-service-why_-TOPOLOGY-1-15006598
67提交了拉取请求,并接受了该文档错误: