GitHub user jerryshao opened a pull request:
https://github.com/apache/spark/pull/2824
[SPARK-3948][Shuffle]Fix stream corruption bug in sort-based shuffle
Kernel 2.6.32 bug will lead to unexpected behavior of transferTo in
copyStream, and this will corrupt the shuffle output file in sort-based
shuffle, which will somehow introduce PARSING_ERROR(2), deserialization error
or offset out of range. Here fix this by adding append flag, also add some
position checking code. Details can be seen in
[SPARK-3948](https://issues.apache.org/jira/browse/SPARK-3948).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jerryshao/apache-spark SPARK-3948
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2824.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 #2824
----
commit b47cc9f8f32e01868288ec82eedc1f421a717a8b
Author: jerryshao <[email protected]>
Date: 2014-10-16T08:45:51Z
Fix kernel 2.6.32 bug led unexpected behavior of transferTo
----
---
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]