diff options
author | Andrew Or <andrew@databricks.com> | 2015-05-06 18:02:08 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-05-06 18:02:51 -0700 |
commit | 71a452b61c43eaf625cacadd20c886335312ba59 (patch) | |
tree | 5542e5fc688c7432de8c7a6d4a8e02d69d214070 | |
parent | 8fa6829f5e6d8b8f33097c3f20fcb96198d4031b (diff) | |
download | spark-71a452b61c43eaf625cacadd20c886335312ba59.tar.gz spark-71a452b61c43eaf625cacadd20c886335312ba59.tar.bz2 spark-71a452b61c43eaf625cacadd20c886335312ba59.zip |
[HOT FIX] For DAG visualization #5954
-rw-r--r-- | core/src/main/resources/org/apache/spark/ui/static/spark-dag-viz.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/resources/org/apache/spark/ui/static/spark-dag-viz.js b/core/src/main/resources/org/apache/spark/ui/static/spark-dag-viz.js index eb9cf50055..76eb2c4641 100644 --- a/core/src/main/resources/org/apache/spark/ui/static/spark-dag-viz.js +++ b/core/src/main/resources/org/apache/spark/ui/static/spark-dag-viz.js @@ -333,10 +333,10 @@ function drawCrossStageEdges(edges, svgContainer) { connectRDDs(fromRDDId, toRDDId, edgesContainer, svgContainer); } // Now draw the arrows by borrowing the arrow marker generated by dagre-d3 - var dagreD3Marker = svgContainer.select("g.edgePaths marker").node(); + var dagreD3Marker = svgContainer.select("g.edgePaths marker"); if (!dagreD3Marker.empty()) { svgContainer - .append(function() { return dagreD3Marker.cloneNode(true); }) + .append(function() { return dagreD3Marker.node().cloneNode(true); }) .attr("id", "marker-arrow") svgContainer.selectAll("g > path").attr("marker-end", "url(#marker-arrow)"); svgContainer.selectAll("g.edgePaths def").remove(); // We no longer need these |