Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-13298

DAG visualization does not render correctly for jobs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.1, 2.0.0
    • Web UI
    • None

    Description

      Whenever I try to open the DAG for a job, I get something like this:

      Obviously the svg doesn't get resized, but if I resize it manually, only the first of four stages in the DAG is shown.

      The js console says (variable v is null in peg$c34):

      Uncaught TypeError: Cannot read property '3' of null
        peg$c34 @ graphlib-dot.min.js:1
        peg$parseidDef @ graphlib-dot.min.js:1
        peg$parseaList @ graphlib-dot.min.js:1
        peg$parseattrListBlock @ graphlib-dot.min.js:1
        peg$parseattrList @ graphlib-dot.min.js:1
        peg$parsenodeStmt @ graphlib-dot.min.js:1
        peg$parsestmt @ graphlib-dot.min.js:1
        peg$parsestmtList @ graphlib-dot.min.js:1
        peg$parsesubgraphStmt @ graphlib-dot.min.js:1
        peg$parsenodeIdOrSubgraph @ graphlib-dot.min.js:1
        peg$parseedgeStmt @ graphlib-dot.min.js:1
        peg$parsestmt @ graphlib-dot.min.js:1
        peg$parsestmtList @ graphlib-dot.min.js:1
        peg$parsesubgraphStmt @ graphlib-dot.min.js:1
        peg$parsenodeIdOrSubgraph @ graphlib-dot.min.js:1
        peg$parseedgeStmt @ graphlib-dot.min.js:1
        peg$parsestmt @ graphlib-dot.min.js:1
        peg$parsestmtList @ graphlib-dot.min.js:1
        peg$parsegraphStmt @ graphlib-dot.min.js:1
        parse @ graphlib-dot.min.js:2
        readOne @ graphlib-dot.min.js:2
        renderDot @ spark-dag-viz.js:281
        (anonymous function) @ spark-dag-viz.js:248
        (anonymous function) @ d3.min.js:
        3Y @ d3.min.js:1
        _a.each @ d3.min.js:3
        renderDagVizForJob @ spark-dag-viz.js:207
        renderDagViz @ spark-dag-viz.js:163
        toggleDagViz @ spark-dag-viz.js:100
        onclick @ ?id=2:153
      

      (tested in FIrefox 44.0.1 and Chromium 48.0.2564.103)

      Attachments

        1. dag_viz.png
          16 kB
          Lucas Woltmann
        2. dag_full.png
          96 kB
          Lucas Woltmann
        3. no-dag.png
          32 kB
          Alex Bozarth

        Issue Links

          Activity

            People

              zsxwing Shixiong Zhu
              telemort Lucas Woltmann
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: