GitHub user maropu opened a pull request:
https://github.com/apache/spark/pull/18949
[SPARK-12961][CORE][FOLLOW-UP] Remove wrapper code for SnappyOutputStream
## What changes were proposed in this pull request?
This pr removed the wrapper code (commit:
https://github.com/apache/spark/commit/f2cc6b5bccc3a70fd7d69183b1a068800831fe19)
to avoid the bug in `SnappyOutputStream.close()` because the corresponding bug
has been fixed in `snappy-java-1.1.2.6` that Spark currently uses. This fix has
been merged in `snappy-java-1.1.2` and see
https://github.com/xerial/snappy-java/issues/107#issuecomment-102936930.
## How was this patch tested?
Checked `UnsafeShuffleWriterSuite` passed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/maropu/spark SPARK-12961-FOLLOWUP
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18949.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 #18949
commit c3f24705c8b4371baa4021493652c91fba485756
Author: Takeshi Yamamuro
Date: 2017-08-15T09:22:58Z
Remove wrapper code for SnappyOutputStream
---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---
-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org