[ 
https://issues.apache.org/jira/browse/CASSANDRA-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14573064#comment-14573064
 ] 

Jeremiah Jordan commented on CASSANDRA-9548:
--------------------------------------------

cc [~tjake]

> SnappyCompressor only works with direct buffers
> -----------------------------------------------
>
>                 Key: CASSANDRA-9548
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9548
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Mike Adamson
>             Fix For: 2.2.0 rc1
>
>
> The SnappyCompressor is reporting the following errors:
> {noformat}
>     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)
> {noformat}
> This is because in 2.2 the SnappyCompressor is now calling
> {noformat}
> Snappy.compress
> {noformat}
> instead of (as previously)
> {noformat}
> Snappy.rawCompress
> {noformat}
> Snappy.compress checks that the input and output buffers are direct and 
> throws the above error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to