Skip to content

PHOENIX-8108 Bump snappy-java to 1.1.10.12 - #2740

Open
apurtell wants to merge 1 commit into
apache:masterfrom
apurtell:PHOENIX-8108
Open

apurtell wants to merge 1 commit into
apache:masterfrom
apurtell:PHOENIX-8108

Conversation

@apurtell

@apurtell apurtell commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

With snappy-java 1.1.10.9, a region server that uses the Hadoop Snappy codec aborts when it flushes a table with Snappy compression. In CI, a test that uses a Snappy table hangs until it times out. The Hadoop compressor sets the output buffer limit to zero before it compresses. Version 1.1.10.9 added an output space check against that limit, so the check fails. Later releases check the buffer capacity instead.

This change bumps snappy-java to 1.1.10.12. It adds and removes no dependency. The shaded server jar relocates snappy-java. Thus the change matters mostly for the test classpath and for deployments that put the unshaded server jar on the region server classpath. HBASE-30538 tracks the same break in HBase.

🤖 Generated with Claude Code

snappy-java 1.1.10.9 checks the remaining space of the output buffer
before it compresses. Hadoop SnappyCompressor sets the buffer limit to
zero before the call, so the check fails. The region server then aborts
when it flushes a SNAPPY table. snappy-java 1.1.10.11 restores the Hadoop
buffer behavior, and 1.1.10.12 also fixes the Hadoop block header size.

Set the snappy-java version to 1.1.10.12.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the managed snappy-java version update.

No open issues 🎉

What changed in this PR

Updates Phoenix’s managed Snappy library to address Hadoop Snappy flush failures and related CI timeouts.

Changes:

  • Bumps snappy-java from 1.1.10.9 to 1.1.10.12, without adding or removing dependencies.
File Description
pom.xml Updates the managed snappy-java version.

Review effort: Balanced

@apurtell

apurtell commented Dec 4, 2026

Copy link
Copy Markdown
Contributor Author

Precommit note: the failures in this run are not related to this change. Each one is a known problem on master.

(Claude Code)

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.

2 participants