Repository navigation
Conversation
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>
There was a problem hiding this comment.
🟢 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-javafrom1.1.10.9to1.1.10.12, without adding or removing dependencies.
| File | Description |
|---|---|
pom.xml |
Updates the managed snappy-java version. |
Review effort: Balanced
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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