Skip to content

MINOR: [1.18.x] Upgrade Snappy to 1.1.10.12 - #3892

Merged
Fokko merged 1 commit into
apache:parquet-1.18.xfrom
manuzhang:codex/backport-snappy-1.1.10.12-1.18.x
Oct 27, 2026
Merged

Fokko merged 1 commit into
apache:parquet-1.18.xfrom
manuzhang:codex/backport-snappy-1.1.10.12-1.18.x

Conversation

@manuzhang

Copy link
Copy Markdown
Member

Rationale for this change

Backport #3851 and #3865 to parquet-1.18.x so 1.18.2 includes Snappy's input-validation security fixes and the subsequent Hadoop compatibility corrections. The branch currently uses snappy-java 1.1.10.8.

Upstream security changes: xerial/snappy-java#739

What changes are included in this PR?

Upgrade org.xerial.snappy:snappy-java directly from 1.1.10.8 to 1.1.10.12 in parquet-hadoop/pom.xml. This combines the two main-branch upgrades in one maintenance commit. It is independent of the Thrift upgrade.

Are these changes tested?

  • Clean Java 11 parquet-hadoop reactor verify, using the branch's unchanged Thrift 0.23.0 compiler/runtime: 99 tests, 0 failures/errors/skips.
  • Covers TestSnappyCodec, TestCompressionCodec, TestDirectCodecFactory, TestParquetWriter, TestParquetReader, and TestDataPageChecksums.
  • Confirmed the test runtime uses snappy-java 1.1.10.12.
  • Configured API-compatibility, dependency-analysis, RAT and Spotless checks passed; git diff --check passed.

Broad integration tests and Javadocs were skipped.

Are there any user-facing changes?

Snappy rejects malformed inputs and unsafe buffer sizes earlier. The selected version includes the later Hadoop ByteBuffer/header compatibility fixes. No Parquet file-format change is introduced.

Backport apache#3851 and apache#3865 as a direct upgrade from 1.1.10.8.
Includes the input-validation security fixes and subsequent Hadoop
ByteBuffer compatibility corrections.

(cherry picked from commit 72abdcc)
(cherry picked from commit db9e610)

Co-authored-by: Codex <[email protected]>

@Fokko Fokko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this @manuzhang

@Fokko
Fokko merged commit 59025e2 into apache:parquet-1.18.x Oct 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants