You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Stephen Powis (JIRA)" <ji...@apache.org> on 2017/05/25 17:42:04 UTC

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

Stephen Powis created STORM-2534:
------------------------------------

             Summary: 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


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.3.15#6346)