Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2534

Visualization API missing stats/instances for "system" components

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: storm-core
    • Labels:
      None

      Description

      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.

      {
      	"spout": {
      		...
      		":stats": [{
      			":host": "e54bb273-2a8a-4320-b23f-7c7ace52c961-10.153.0.30",
      			":port": 6700,
      			":uptime_secs": 0,
      			":transferred": {
      				...
      			}
      		}],
      		...
      	},
      

      See the following response for the __system and __acker components. They do not correctly list any entries under the stats key.

      {
      	"__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": [...]
      	}
      }
      

        Attachments

          Activity

            People

            • Assignee:
              kabhwan Jungtaek Lim
              Reporter:
              spowis@salesforce.com Stephen Powis
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: