GitHub user davies opened a pull request:
https://github.com/apache/spark/pull/9686
[SPARK-8029] robust shuffle writer
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
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/davies/spark writer_1.5
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/9686.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #9686
----
commit 7e8329842f91bf629224ca62ac919d2caec4f680
Author: Davies Liu <[email protected]>
Date: 2015-11-13T07:35:15Z
robust shuffle writer
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]