You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2016/06/08 14:18:21 UTC

[jira] [Commented] (STORM-1889) Datatables error message displayed when viewing UI

    [ https://issues.apache.org/jira/browse/STORM-1889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320616#comment-15320616 ] 

Robert Joseph Evans commented on STORM-1889:
--------------------------------------------

I think we already have this ability.

https://github.com/apache/storm/blob/master/storm-core/src/jvm/org/apache/storm/Config.java#L259-L268

By setting storm.local.hostname on each of the supervisors it should fix your issue, because that is what will be reported to nimbus, and is what will be used when building the URL for the logviewer.

> Datatables error message displayed when viewing UI
> --------------------------------------------------
>
>                 Key: STORM-1889
>                 URL: https://issues.apache.org/jira/browse/STORM-1889
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-ui
>    Affects Versions: 1.0.1
>            Reporter: Simon Whittemore
>
> Updating to storm 1.0.1, running on Windows 7, I receive error messages from Datatables.
> This occurs on the Topology Summary as well as the Component Summary for a spout/bolt
> Example error: DataTables warning: table id=executor-stats-table - Requested unknown parameter '9' for row 0. For more information about this error, please see http://datatables.net/tn/4
> If I edit index.html to remove the type: num targets, the errors go away.
> For example.
>   $.getJSON("/api/v1/topology/summary",function(response,status,jqXHR) {
>       $.get("/templates/index-page-template.html", function(template) {
>           topologySummary.append(Mustache.render($(template).filter("#topology-summary-template").html(),response));
>           //name, owner, status, uptime, num workers, num executors, num tasks, replication count, assigned total mem, assigned total cpu, scheduler info
>           dtAutoPage("#topology-summary-table", {
>             columnDefs: [
>               //{type: "num", targets: [4, 5, 6, 7, 8, 9]},
> 			  {type: "num", targets: []},
>               {type: "time-str", targets: [3]}
>             ]
>           });
>           $('#topology-summary [data-toggle="tooltip"]').tooltip();
>       });



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)