forked from apache-spark-on-k8s/spark
-
Notifications
You must be signed in to change notification settings - Fork 6
[SPARK-25299] Implement default version of the API for shuffle writes #6
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
7160ce3
musings without unit tests
ifilonenko 460f0ea
first pass of comments
ifilonenko 96d1774
resolve some comments
ifilonenko 64fb327
small style choice with java.io.
ifilonenko 996e903
resolved more comments
ifilonenko 3b9d33c
initial unit tests of outputstream writing
ifilonenko 1f1c159
slight update
ifilonenko 0737515
added tests and resolved comments
ifilonenko 1ded83d
initial comments resolved
ifilonenko 3353155
trying to change API to return FileChannel instead of WriteableByteCh…
ifilonenko 7a79bd9
small comments to resolve
ifilonenko 9e3f05c
fix to issue of closing channel
ifilonenko 9f6230b
Various changes to the API and state assumptions in writers. (#8)
mccheah 14df750
small comment addiiton
ifilonenko 8cf80f7
resolving comments
ifilonenko 46a0174
resolving comments
ifilonenko 1325903
added null check
ifilonenko 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
fix to issue of closing channel
- Loading branch information
commit 9e3f05cff7fe4f50185fd41fc34458e3c62ac4da
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
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.
read the links, and it seems to be a kernel bug? is this safe to delete?
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.
There is no position in writeableByteChannels :/ soo... idk ... meep
Uh oh!
There was an error while loading. Please reload this page.
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.
If we keep this check it should be in the implementation of
ShuffleMapOutputWriterI would guess. Maybe inclose/abort/commitetc?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.
Perhaps i'm missing something, but how do you get the expected position in the
ShuffleMapOutputWriterfor the assert? If that's not easy to get, I would say it's better to keep this here with a if-statement to check if it's an instance ofFileChannelto maintain the same behavior as before.