-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-6943][SPARK-6944] DAG visualization on SparkUI #5729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
6b3403b
Scope all RDD methods
a9ed4f9
Add a few missing scopes to certain RDD methods
5143523
Expose the necessary information in RDDInfo
2184348
Translate RDD information to dot file
f22f337
First working implementation of visualization with vis.js
9fac6f3
Re-implement scopes through annotations instead
494d5c2
Revert a few unintended style changes
6a7cdca
Move RDD scope util methods and logic to its own file
5e22946
Merge branch 'master' of github.com:apache/spark into viz
205f838
Reimplement rendering with dagre-d3 instead of viz.js
fe7816f
Merge branch 'master' of github.com:apache/spark into viz
8dd5af2
Fill in documentation + miscellaneous minor changes
71281fa
Embed the viz in the UI in a toggleable manner
09d361e
Add ID to node label (minor)
52187fc
Rat excludes
c3bfcae
Re-implement scopes using closures instead of annotations
aa868a9
Ensure that HadoopRDD is actually serializable
4310271
Merge branch 'master' of github.com:apache/spark into viz2
7ef957c
Fix scala style
d19c4da
Merge branch 'master' of github.com:apache/spark into viz2
6e2cfea
Remove all return statements in `withScope`
43de96e
Add parent IDs to StageInfo
5e388ea
Fix line too long
5f07e9c
Remove more return statements from scopes
ab91416
Introduce visualization to the Job Page
5c7ce16
Connect RDDs across stages + update style
deb48a0
Translate stage boxes taking into account the width
0706992
Add link from jobs to stages
b80cc52
Merge branch 'master' of github.com:apache/spark into viz2
f9830a2
Refactor + clean up + document JS visualization code
ee33d52
Separate HTML generating code from listener
5a7faf4
Rename references to viz scopes to viz clusters
83f9c58
Implement a programmatic representation of operator scopes
31aae06
Extract visualization logic from listener
b1f0fd1
Rename OperatorScope -> RDDOperationScope
429e9e1
Display cached RDDs on the viz
832443c
Merge branch 'master' of github.com:apache/spark into viz2
3459ab2
Fix tests
0d7aa32
Fix python tests
afb98e2
Merge branch 'master' of github.com:apache/spark into viz2
0d07a84
Fix python style
5fdd89d
children -> child (minor)
3ffe566
Restore "null" as default for RDD name
1c310e4
Wrap a few more RDD functions in an operation scope
6f9574a
Add tests for RDDOperationScope
01ba336
Change RDD cache color to red (minor)
666c03b
Round corners of RDD boxes on stage page (minor)
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
core/src/main/resources/org/apache/spark/ui/static/dagre-d3.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
core/src/main/resources/org/apache/spark/ui/static/graphlib-dot.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to add
dagre-d3
andgraphlib-dot
toLICENSE
? I have already addedd3
in #5533.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes good catch - we should do that.
On Tue, May 5, 2015 at 10:14 PM, Shixiong Zhu [email protected]
wrote: