You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "chaijunjie (Jira)" <ji...@apache.org> on 2025/05/22 06:51:00 UTC
[jira] [Comment Edited] (PHOENIX-7482) Replace uses of org.iq80.snappy:snappy with org.xerial.snappy:snappy-java
[ https://issues.apache.org/jira/browse/PHOENIX-7482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17953338#comment-17953338 ]
chaijunjie edited comment on PHOENIX-7482 at 5/22/25 6:50 AM:
--------------------------------------------------------------
hi, I found we replace org.xerial.snappy with org.iq80.snappy:snappy 10 years ago...[PHOENIX-1455|https://issues.apache.org/jira/browse/PHOENIX-1455]
If we want to use pura java compress, why not use io.airlift:aircompressor ? just like [HBASE-26259|https://issues.apache.org/jira/browse/HBASE-26259] or both support xerial and aircompressor?
just a sugget...I support to remove org.iq80.snappy,... so should support aircompressor?
was (Author: JIRAUSER286971):
hi, I found we replace org.xerial.snappy with org.iq80.snappy:snappy 10 years ago...[PHOENIX-1455|https://issues.apache.org/jira/browse/PHOENIX-1455]
If we want to use pura java compress, why not use io.airlift:aircompressor ? just like [lHBASE-26259|https://issues.apache.org/jira/browse/HBASE-26259] or both support xerial and aircompressor?
just a sugget...I support to remove org.iq80.snappy,... so should support aircompressor?
> Replace uses of org.iq80.snappy:snappy with org.xerial.snappy:snappy-java
> -------------------------------------------------------------------------
>
> Key: PHOENIX-7482
> URL: https://issues.apache.org/jira/browse/PHOENIX-7482
> Project: Phoenix
> Issue Type: Improvement
> Components: core
> Reporter: Andrew Kyle Purtell
> Assignee: Andrew Kyle Purtell
> Priority: Minor
>
> org.iq80.snappy is subject to CVE-2024-36124 just like Xerial Snappy. This was flagged by a dependency scanner. This was an occasion to revisit Snappy algorithm providers. Xerial Snappy is much more widely used, is a transitive Phoenix dependency already, provides the same functionality, virtually the same API, is and is a dependency of Hadoop and HBase and others. Why also depend and use, only in two places, iq80 snappy?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)