[ https://issues.apache.org/jira/browse/STORM-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004148#comment-15004148 ]
ASF GitHub Bot commented on STORM-1198: --------------------------------------- Github user revans2 commented on a diff in the pull request: https://github.com/apache/storm/pull/875#discussion_r44796485 --- Diff: storm-core/src/ui/public/index.html --- @@ -156,6 +163,15 @@ ] }); $('#supervisor-summary [data-toggle="tooltip"]').tooltip(); + $.getJSON("/api/v1/cluster/configuration", function(json){ + var scheduler = json["storm.scheduler"]; + if (scheduler != "backtype.storm.scheduler.resource.ResourceAwareScheduler"){ + $('#supervisor-summary td:nth-child(6),#supervisor-summary th:nth-child(6)').hide(); + $('#supervisor-summary td:nth-child(7),#supervisor-summary th:nth-child(7)').hide(); + $('#supervisor-summary td:nth-child(8),#supervisor-summary th:nth-child(8)').hide(); + $('#supervisor-summary td:nth-child(9),#supervisor-summary th:nth-child(9)').hide(); + } + }); --- End diff -- Same here as above > Web UI to show resource usages and Total Resources on all supervisors > --------------------------------------------------------------------- > > Key: STORM-1198 > URL: https://issues.apache.org/jira/browse/STORM-1198 > Project: Apache Storm > Issue Type: Story > Components: storm-core > Reporter: Zhuo Liu > Assignee: Zhuo Liu > Priority: Minor > Attachments: supervisor-resources.png > > > As we have resource aware scheduler (STORM-894), we want to be able to > display resource capacity (CPU, memory; and network in future) and scheduled > resource usage on each supervisor node. -- This message was sent by Atlassian JIRA (v6.3.4#6332)