Repository navigation
[branch-2] HBASE-30538 Bump snappy-java to 1.1.10.12 - #8873
Conversation
snappy-java 1.1.10.9 added an output-space check in Snappy.compress(ByteBuffer, ByteBuffer) based on remaining(), which rejects Hadoop SnappyCompressor (output limit(0) before compress) and breaks writes through Hadoop SnappyCodec. Fixed in 1.1.10.11 (apache#766); 1.1.10.12 also fixes apache#767. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> (cherry picked from commit 4a04384)
Fails with snappy-java 1.1.10.9/1.1.10.10 ('not enough space for
output'), passes with 1.1.10.11+.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
(cherry picked from commit a2cfc21)
Hadoop's SnappyCodec only uses snappy-java since 3.3.1 (HADOOP-17125). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
TestFromClientSide3.testMultiRowMutations is failing in all 3 PR for branch-2* , @nirdosh0110 can you please check this. |
Ack. |
Thanks for flagging @Umeshkumar9414 . I looked at the CI logs. |
Backport of #8870 to branch-2. https://issues.apache.org/jira/browse/HBASE-30538
Bumps snappy-java 1.1.10.9 -> 1.1.10.12 and adds
TestHadoopSnappyCodec.The test is skipped when Hadoop is older than 3.3.1, since Hadoop's
SnappyCodeconly uses snappy-java from 3.3.1 on (HADOOP-17125) and needs the native library before that. As suggested in #8870 (comment).Verified locally on branch-2:
-Dhadoop.profile=3.0(Hadoop 3.4.3): pass-Dhadoop.profile=3.0 -Dsnappy.version=1.1.10.9: fails withnot enough space for output: need 254,857 bytes, but only 0 remaining🤖 Generated with Claude Code