-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-54571][CORE][SQL] Use LZ4 safeDecompressor #53454
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
base: master
Are you sure you want to change the base?
Conversation
|
the test failure is caused by |
|
cc @dbtsai @huaxingao, I checked all versions available in Maven Central, all of them have the same issue.
Update: contacted the DB2 JDBC driver's author, new release that bundles the latest lz4-java is working in progress Update: DB2 team provides a special JDBC driver 12.1.3.0_special_74723 that bundles lz4-java 1.10.1 which addressed |
JIRA Issue Information=== Improvement SPARK-54571 === This comment was automatically generated by GitHub Actions |
| <postgresql.version>42.7.7</postgresql.version> | ||
| <db2.jcc.version>11.5.9.0</db2.jcc.version> | ||
| <!-- A special version that bundles lz4-java 1.10.1 --> | ||
| <db2.jcc.version>12.1.3.0_special_74723</db2.jcc.version> |
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.
this dep is only used for testing
…17, Scala 2.13, split 1 of 1)
…21, Scala 2.13, split 1 of 1)
| <postgresql.version>42.7.7</postgresql.version> | ||
| <db2.jcc.version>11.5.9.0</db2.jcc.version> | ||
| <!-- A special version that bundles lz4-java 1.10.1 --> | ||
| <db2.jcc.version>12.1.3.0_special_74723</db2.jcc.version> |
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.
Can we upgrade it first in a separate pr?
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.
okay, let me upgrade it first
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.
@LuciferYang FYI, I opened SPARK-55136 (#53920) for it
What changes were proposed in this pull request?
Previously, lz4-java was upgraded to 1.10.1 to address CVEs,
lz4-javato 1.10.0 #53327lz4-javato 1.10.1 #53347while this casues significant performance drop, see the benchmark report at
this PR follows the suggestion to migrate to safeDecompressor.
This PR also upgrades DB2 JDBC driver to a special version 12.1.3.0_special_74723 provided by DB2 team that bundles lz4-java 1.10.1 which addresses
NoSuchMethodErrorissue (it only affects test).Why are the changes needed?
Mitigate performance regression.
Does this PR introduce any user-facing change?
No, except for performance.
How was this patch tested?
GHA for functionality, benchmark for performance.
Was this patch authored or co-authored using generative AI tooling?
No.