[SPARK-7371] [SPARK-7377] [SPARK-7408] DAG visualization addendum (#5729) This is a follow-up patch for #5729.
**[SPARK-7408]** Move as much style code from JS to CSS as possible **[SPARK-7377]** Fix JS error if a job / stage contains only one RDD **[SPARK-7371]** Decrease emphasis on RDD on stage page as requested by mateiz pwendell This patch also includes general code clean up. <img src="https://issues.apache.org/jira/secure/attachment/12730992/before-after.png" width="500px"></img> Author: Andrew Or <[email protected]> Closes #5954 from andrewor14/viz-emphasize-rdd and squashes the following commits: 3c0d4f0 [Andrew Or] Guard against JS error by rendering arrows only if needed f23e15b [Andrew Or] Merge branch 'master' of github.com:apache/spark into viz-emphasize-rdd 565801f [Andrew Or] Clean up code 9dab5f0 [Andrew Or] Move styling from JS to CSS + clean up code 107c0b6 [Andrew Or] Tweak background color, stroke width, font size etc. 1610c62 [Andrew Or] Implement cluster padding for stage page (cherry picked from commit 8fa6829f5e6d8b8f33097c3f20fcb96198d4031b) Signed-off-by: Andrew Or <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/76e8344f Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/76e8344f Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/76e8344f Branch: refs/heads/branch-1.4 Commit: 76e8344f20f99aaa8af9899e48afec088f47669c Parents: ba24dfa Author: Andrew Or <[email protected]> Authored: Wed May 6 17:52:34 2015 -0700 Committer: Andrew Or <[email protected]> Committed: Wed May 6 17:52:41 2015 -0700 ---------------------------------------------------------------------- .../org/apache/spark/ui/static/dagre-d3.min.js | 14 +- .../apache/spark/ui/static/spark-dag-viz.css | 83 +++++ .../org/apache/spark/ui/static/spark-dag-viz.js | 357 +++++++++++-------- .../scala/org/apache/spark/ui/UIUtils.scala | 14 +- .../spark/ui/scope/RDDOperationGraph.scala | 19 +- 5 files changed, 310 insertions(+), 177 deletions(-) ---------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
