[SPARK-42242][BUILD] Upgrade snappy-java to 1.1.9.1#39811
[SPARK-42242][BUILD] Upgrade snappy-java to 1.1.9.1#39811dongjoon-hyun wants to merge 2 commits into
snappy-java to 1.1.9.1#39811Conversation
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Hi, @viirya . Could you review this? This includes your two patches.
|
Thanks @dongjoon-hyun . Pending CI. |
|
Thank you, @viirya . Yes, pending CI! |
|
Oh... |
dongjoon-hyun
left a comment
There was a problem hiding this comment.
It seems that snappy-java is published via Java 11. I converted this PR as a draft for now.
|
Sorry, @viirya and @HyukjinKwon . I will check the situation more. |
|
https://github.com/xerial/snappy-java/blob/master/build.sbt#L30 Interesting. It seems that the compilation target is still Java 8... |
|
It's insufficient, @LuciferYang . The runtimeClass ( |
|
Looks like that overload isn't even in Java 11; I see it in Java 14: https://docs.oracle.com/en/java/javase/14/docs/api/java.base/java/nio/ByteBuffer.html#limit(int) |
|
Ya, thank you, @srowen . |
|
https://github.com/xerial/snappy-java/releases/tag/v1.1.9.1 @dongjoon-hyun We can try to upgrade 1.1.9.1 to solve this issue |
|
Thank you so much! |
|
It should not be released to the central repository yet. We need to wait for a while |
|
Yes, it seems to be. I'll wait~ |
snappy-java to 1.1.9.0snappy-java to 1.1.9.1
|
Thank you again, @viirya . |
|
Thank you, @LuciferYang . |
### What changes were proposed in this pull request? This PR aims to upgrade `snappy-java` to 1.1.9.1. ### Why are the changes needed? This version has the following bug fixes. - Use original compressed and uncompressed buffer's position (xerial/snappy-java#293) - Fixed running snappy-java as OSGi bundle on Apple Silicon (M1 Pro) (xerial/snappy-java#303) - Avoid explicit class name in throw_exception (xerial/snappy-java#291) Here is the full release note. - https://github.com/xerial/snappy-java/releases/tag/v1.1.9.0 - https://github.com/xerial/snappy-java/releases/tag/v1.1.9.1 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. Closes #39811 from dongjoon-hyun/SPARK-42242. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 65a1c16) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
|
All tests passed. Merged to master/3.4. |
### What changes were proposed in this pull request? This PR aims to upgrade `snappy-java` to 1.1.9.1. ### Why are the changes needed? This version has the following bug fixes. - Use original compressed and uncompressed buffer's position (xerial/snappy-java#293) - Fixed running snappy-java as OSGi bundle on Apple Silicon (M1 Pro) (xerial/snappy-java#303) - Avoid explicit class name in throw_exception (xerial/snappy-java#291) Here is the full release note. - https://github.com/xerial/snappy-java/releases/tag/v1.1.9.0 - https://github.com/xerial/snappy-java/releases/tag/v1.1.9.1 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. Closes apache#39811 from dongjoon-hyun/SPARK-42242. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 65a1c16) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
### What changes were proposed in this pull request? This PR aims to upgrade `snappy-java` to 1.1.9.1. ### Why are the changes needed? This version has the following bug fixes. - Use original compressed and uncompressed buffer's position (xerial/snappy-java#293) - Fixed running snappy-java as OSGi bundle on Apple Silicon (M1 Pro) (xerial/snappy-java#303) - Avoid explicit class name in throw_exception (xerial/snappy-java#291) Here is the full release note. - https://github.com/xerial/snappy-java/releases/tag/v1.1.9.0 - https://github.com/xerial/snappy-java/releases/tag/v1.1.9.1 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. Closes apache#39811 from dongjoon-hyun/SPARK-42242. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 65a1c16) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>


What changes were proposed in this pull request?
This PR aims to upgrade
snappy-javato 1.1.9.1.Why are the changes needed?
This version has the following bug fixes.
Here is the full release note.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs.