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

Datatables error message displayed when viewing UI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 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

          People

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

            Dates

              Created:
              Updated: