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/02/01 08:23:51 UTC
[jira] [Assigned] (STORM-2335) Topology visualization breaks when
':transferred' in executor stats doesn't have any informations
[ https://issues.apache.org/jira/browse/STORM-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jungtaek Lim reassigned STORM-2335:
-----------------------------------
Assignee: Jungtaek Lim
> Topology visualization breaks when ':transferred' in executor stats doesn't have any informations
> -------------------------------------------------------------------------------------------------
>
> Key: STORM-2335
> URL: https://issues.apache.org/jira/browse/STORM-2335
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-core
> Reporter: Jungtaek Lim
> Assignee: Jungtaek Lim
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When opening Topology Visualization, below error is shown to the console of browser:
> {code}
> visualization.js:314 Uncaught TypeError: Cannot read property 'default' of undefined
> at gather_stream_count (visualization.js:314)
> at Object.<anonymous> (visualization.js:117)
> at Node.<anonymous> (arbor.js:35)
> at Function.each (jquery-1.11.1.min.js:2)
> at Object.eachNode (arbor.js:35)
> at Object.redraw (visualization.js:114)
> at screenUpdate (arbor.js:33)
> {code}
> This is due to the fact that some executors doesn't have stats for ':transferred'.
> Below is the part of API response, and you can see some executors are having children for ':transferred' whereas others are not having children.
> {code}
> ":stats":[
> {
> ":host":"192.168.0.2",
> ":port":6700,
> ":uptime_secs":16,
> ":transferred":{
> "10800":{
> "s__system1771886016":0
> },
> "86400":{
> "s__system1771886016":0
> },
> ":all-time":{
> "s__system1771886016":0
> },
> "600":{
> "s__system1771886016":0
> }
> }
> },
> {
> ":host":"192.168.0.2",
> ":port":6700,
> ":uptime_secs":16,
> ":transferred":{
> }
> },
> {
> ":host":"192.168.0.2",
> ":port":6700,
> ":uptime_secs":16,
> ":transferred":{
> "10800":{
> "default722480637":20
> },
> "86400":{
> "default722480637":20
> },
> ":all-time":{
> "default722480637":20
> },
> "600":{
> "default722480637":20
> }
> }
> },
> {
> ":host":"192.168.0.2",
> ":port":6700,
> ":uptime_secs":16,
> ":transferred":{
> "10800":{
> "default722480637":20
> },
> "86400":{
> "default722480637":20
> },
> ":all-time":{
> "default722480637":20
> },
> "600":{
> "default722480637":20
> }
> }
> }
> ]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)