Storm Cluster UI Rest API 未按记录运行
Storm Cluster UI Rest API not behaving as documented
我一直在探索 Storm UI 的 REST API 是否可用于提取有关拓扑配置(螺栓位置)的详细信息。 http://storm.apache.org/releases/1.0.1/STORM-UI-REST-API.html 是源文件。我们是 运行 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_TOPOLOGY-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的路由/topology:id也不行
有人用过这些吗?
错误消息说:
NotAliveException(味精::sdp-acs-cit-why-12500-why-12500-cit-why-cit-service-WHY_TOPOLOGY-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
我一直在探索 Storm UI 的 REST API 是否可用于提取有关拓扑配置(螺栓位置)的详细信息。 http://storm.apache.org/releases/1.0.1/STORM-UI-REST-API.html 是源文件。我们是 运行 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_TOPOLOGY-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的路由/topology:id也不行
有人用过这些吗?
错误消息说: NotAliveException(味精::sdp-acs-cit-why-12500-why-12500-cit-why-cit-service-WHY_TOPOLOGY-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