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

Datatables error message displayed when viewing UI

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0.1
    • None
    • storm-ui
    • None

    Description

      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();
      });

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            simon.whittemore@gmail.com Simon Whittemore
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment