You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2017/09/19 23:05:00 UTC

[jira] [Resolved] (STORM-2534) Visualization API missing stats/instances for "system" components

     [ https://issues.apache.org/jira/browse/STORM-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jungtaek Lim resolved STORM-2534.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

PR for STORM-2533 covered this.

> Visualization API missing stats/instances for "system" components
> -----------------------------------------------------------------
>
>                 Key: STORM-2534
>                 URL: https://issues.apache.org/jira/browse/STORM-2534
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>    Affects Versions: 2.0.0
>            Reporter: Stephen Powis
>            Assignee: Jungtaek Lim
>             Fix For: 2.0.0
>
>
> The topology visualization api end point ( /api/v1/topology/TOPOLOGY-ID/visualization ) does not return correct "stats" values for "system" components __system and __acker.
> See the following example *correct* response for a spout or bolt within a topology, shorten for brevity.  Under the stats key it lists all of the instances of that component that is deployed.
> {code}
> {
> 	"spout": {
> 		...
> 		":stats": [{
> 			":host": "e54bb273-2a8a-4320-b23f-7c7ace52c961-10.153.0.30",
> 			":port": 6700,
> 			":uptime_secs": 0,
> 			":transferred": {
> 				...
> 			}
> 		}],
> 		...
> 	},
> {code}
> See the following response for the __system and __acker components.  They do *not* correctly list any entries under the stats key.
> {code}
> {
> 	"__system": {
> 		":type": "spout",
> 		":capacity": 0,
> 		":latency": null,
> 		":transferred": null,
> 		":stats": [],
> 		":link": "\/component.html?id=__system&topology_id=test-1-1495630798",
> 		":inputs": []
> 	},
> 	"__acker": {
> 		":type": "spout",
> 		":capacity": 0,
> 		":latency": null,
> 		":transferred": null,
> 		":stats": [],
> 		":link": "\/component.html?id=__acker&topology_id=test-1-1495630798",
> 		":inputs": [...]
> 	}
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)