Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Not A Problem
-
None
-
None
-
Normal
Description
The SnappyCompressor is reporting the following errors:
org.xerial.snappy.SnappyError: [NOT_A_DIRECT_BUFFER] input is not a direct buffer at org.xerial.snappy.Snappy.compress(Snappy.java:143) at org.apache.cassandra.io.compress.SnappyCompressor.compress(SnappyCompressor.java:85)
This is because in 2.2 the SnappyCompressor is now calling
Snappy.compress
instead of (as previously)
Snappy.rawCompress
Snappy.compress checks that the input and output buffers are direct and throws the above error.