-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-8029] robust shuffle writer (for 1.5 branch) #9686
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
Conversation
cc @andrewor14 |
Test build #45841 timed out for PR 9686 at commit |
Test build #45847 has finished for PR 9686 at commit
|
retest this please |
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.
Test build #45865 has finished for PR 9686 at commit
|
retest this please |
Test build #45873 has finished for PR 9686 at commit
|
merged into 1.5 |
Currently, all the shuffle writer will write to target path directly, the file could be corrupted by other attempt of the same partition on the same executor. They should write to temporary file then rename to target path, as what we do in output committer. In order to make the rename atomic, the temporary file should be created in the same local directory (FileSystem). This PR is based on #9214 , thanks to squito Author: Davies Liu <davies@databricks.com> Closes #9686 from davies/writer_1.5 and squashes the following commits: e95fcf5 [Davies Liu] fix test a6d569e [Davies Liu] fix consolidate 7e83298 [Davies Liu] robust shuffle writer
Test build #45879 has finished for PR 9686 at commit
|
@davies can you close this |
Currently, all the shuffle writer will write to target path directly, the file could be corrupted by other attempt of the same partition on the same executor. They should write to temporary file then rename to target path, as what we do in output committer. In order to make the rename atomic, the temporary file should be created in the same local directory (FileSystem).
This PR is based on #9214 , thanks to @squito