-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-1132] Persisting Web UI through refactoring the SparkListener interface #42
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
78 commits
Select commit
Hold shift + click to select a range
164489d
Relax assumptions on compressors and serializers when batching
andrewor14 a531d2e
Relax assumptions on compressors and serializers when batching
andrewor14 3df7005
Merge branch 'master' of github.com:andrewor14/incubator-spark
andrewor14 287ef44
Avoid reading the entire batch into memory; also simplify streaming l…
andrewor14 bd5a1d7
Typo: phyiscal -> physical
andrewor14 13920c9
Update docs
andrewor14 090544a
Privatize methods
andrewor14 3ddeb7e
Also privatize fields
andrewor14 e3ae35f
Merge github.com:apache/incubator-spark
andrewor14 8e09306
Use JSON for ExecutorsUI
andrewor14 10ed49d
Merge github.com:apache/incubator-spark into persist-ui
andrewor14 dcbd312
Add JSON Serializability for all SparkListenerEvent's
andrewor14 bb222b9
ExecutorUI: render completely from JSON
andrewor14 bf0b2e9
ExecutorUI: Serialize events rather than arbitary executor information
andrewor14 de8a1cd
Serialize events both to and from JSON (rather than just to)
andrewor14 8a2ebe6
Fix bugs for EnvironmentUI and ExecutorsUI
andrewor14 c4cd480
Also deserialize new events
andrewor14 d859efc
BlockManagerUI: Add JSON functionality
andrewor14 8add36b
JobProgressUI: Add JSON functionality
andrewor14 b3976b0
Add functionality of reconstructing a persisted UI from SparkContext
andrewor14 4dfcd22
Merge git://git.apache.org/incubator-spark into persist-ui
andrewor14 f3fc13b
General refactor
andrewor14 3fd584e
Fix two major bugs
andrewor14 5ac906d
Mostly naming, formatting, and code style changes
andrewor14 904c729
Fix another major bug
andrewor14 4273013
Add a gateway SparkListener to simplify event logging
andrewor14 64d2ce1
Fix BlockManagerUI bug by introducing new event
andrewor14 6814da0
Explicitly register each UI listener rather than through some magic
andrewor14 d646df6
Completely decouple SparkUI from SparkContext
andrewor14 e9e1c6d
Move all JSON de/serialization logic to JsonProtocol
andrewor14 70e7e7a
Formatting changes
andrewor14 6631c02
More formatting changes, this time mainly for Json DSL
andrewor14 bbe3501
Embed storage status and RDD info in Task events
andrewor14 28019ca
Merge github.com:apache/spark
andrewor14 d1f4285
Migrate from lift-json to json4s-jackson
andrewor14 7b2f811
Guard against TaskMetrics NPE + Fix tests
andrewor14 996d7a2
Reflect RDD unpersist on UI
andrewor14 472fd8a
Fix a couple of tests
andrewor14 d47585f
Clean up FileLogger
andrewor14 faa113e
General clean up
andrewor14 4d2fb0c
Fix format fail
andrewor14 0503e4b
Fix PySpark tests + remove sc.clearFiles/clearJars
andrewor14 5d2cec1
JobLogger: ID -> Id
andrewor14 2981d61
Move SparkListenerBus out of DAGScheduler + Clean up
andrewor14 2fee310
Address Patrick's comments
andrewor14 cceff2b
Fix 100 char format fail
andrewor14 36b3e5d
Add HDFS support for event logging
andrewor14 03eda0b
Fix HDFS flush behavior
andrewor14 aef411c
Fix bug: storage status was not reflected on UI in the local case
andrewor14 bb4c503
Use a more mnemonic path for logging
andrewor14 18b256d
Refactor out event logging and replaying logic from UI
andrewor14 e375431
Add new constructors for SparkUI
andrewor14 1ba3407
Add a few configurable options to event logging
andrewor14 291b2be
Correct directory in log message "INFO: Logging events to <dir>"
andrewor14 4f69c4a
Master UI - Rebuild SparkUI on application finish
andrewor14 176e68e
Fix deprecated message for JavaSparkContext (minor)
andrewor14 ca258a4
Master UI - add support for reading compressed event logs
andrewor14 d6e3b4a
Merge github.com:apache/spark
andrewor14 d59da5f
Avoid logging all the blocks on each executor
andrewor14 b6eaea7
Treating SparkUI as a handler of MasterUI
andrewor14 77ba283
Address Kay's and Patrick's comments
andrewor14 dc93915
Imports, comments, and code formatting (minor)
andrewor14 d801d11
Merge github.com:apache/spark (major)
andrewor14 ac69ec8
Fix test fail
andrewor14 bf80e3d
Imports, comments, and code formatting, once again (minor)
andrewor14 3456090
Address Patrick's comments
andrewor14 c5c2c8f
Remove list of (TaskInfo, TaskMetrics) from StageInfo
andrewor14 45fd84c
Remove now deprecated test
andrewor14 650eb12
Add unit tests + Fix bugs found through tests
andrewor14 6740e49
Fix comment nits
andrewor14 9e14f97
Moved around functionality + renamed classes per Patrick
andrewor14 f80bd31
Simplify static handler and BlockManager status update logic
andrewor14 124429f
Clarify LiveListenerBus behavior + Add tests for new behavior
andrewor14 222adcd
Merge github.com:apache/spark
andrewor14 83af656
Scraps and pieces (no functionality change)
andrewor14 b8ba817
Remove UI from map when removing application in Master
andrewor14 a1c5cd9
Merge github.com:apache/spark
andrewor14 e5f14fa
Merge github.com:apache/spark
andrewor14 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
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
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
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
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.
Could also write this as:
Not sure it's any nicer though :)
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.
Actually - is there any case where the metrics could be null here?
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.
Yeah, I didn't have the null check at first but a few of the tests threw NPE
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.
I could also create an empty (non-null) TaskMetrics in each of the relevant tests. What do you think?
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.
Ya ideally that would be better - otherwise we risk masking what is an actual failure during a legitimate execution. If you can just clean up the tests that would be great. If they are creating
TaskContext
objects we should include an empty metrics inside of them