-
Notifications
You must be signed in to change notification settings - Fork 28.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-42242][BUILD] Upgrade snappy-java
to 1.1.9.1
#39811
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @viirya . Could you review this? This includes your two patches.
Thanks @dongjoon-hyun . Pending CI. |
Thank you, @viirya . Yes, pending CI! |
Oh...
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM
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-java
to 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.