Repository: spark
Updated Branches:
  refs/heads/branch-1.4 76e8344f2 -> 85a644b7b


[HOT FIX] For DAG visualization #5954


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/85a644b7
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/85a644b7
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/85a644b7

Branch: refs/heads/branch-1.4
Commit: 85a644b7bcb65c1e060c26d5f23451fce6a8a715
Parents: 76e8344
Author: Andrew Or <[email protected]>
Authored: Wed May 6 18:02:08 2015 -0700
Committer: Andrew Or <[email protected]>
Committed: Wed May 6 18:03:21 2015 -0700

----------------------------------------------------------------------
 .../main/resources/org/apache/spark/ui/static/spark-dag-viz.js   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/85a644b7/core/src/main/resources/org/apache/spark/ui/static/spark-dag-viz.js
----------------------------------------------------------------------
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 eb9cf50..76eb2c4 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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to