nirdosh0110 opened a new pull request, #8870: URL: https://github.com/apache/hbase/pull/8870
https://issues.apache.org/jira/browse/HBASE-30538 snappy-java 1.1.10.9 (HBASE-30508) added an output-space check in `Snappy.compress(ByteBuffer, ByteBuffer)` against `compressed.remaining()`. Hadoop's `SnappyCompressor` sets `compressedDirectBuf.limit(0)` before compressing, so writes through Hadoop `SnappyCodec` (the default codec for `Compression.Algorithm.SNAPPY`) fail with `not enough space for output: need N bytes, but only 0 remaining`. Fixed upstream in 1.1.10.11 (xerial/snappy-java#765, #766); 1.1.10.12 also fixes #767. Hadoop trunk and Spark are already on 1.1.10.12. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
