GitHub user davies opened a pull request:

    https://github.com/apache/spark/pull/9610

    [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).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/davies/spark safe_shuffle

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/9610.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 #9610
    
----
commit fbfdda993b7b4d7bb43ebc3baeb472bde1f5b0be
Author: Davies Liu <[email protected]>
Date:   2015-11-10T23:50:06Z

    use temporary file and rename to avoid concurrent write

----


---
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]

Reply via email to