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

Datatables error message displayed when viewing UI

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.1
    • Fix Version/s: None
    • Component/s: storm-ui
    • Labels:
      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

            People

            • Assignee:
              Unassigned
              Reporter:
              simon.whittemore@gmail.com Simon Whittemore
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: