Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 393C9184E8 for ; Thu, 4 Jun 2015 18:29:40 +0000 (UTC) Received: (qmail 65930 invoked by uid 500); 4 Jun 2015 18:29:40 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 65894 invoked by uid 500); 4 Jun 2015 18:29:40 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 65882 invoked by uid 99); 4 Jun 2015 18:29:40 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2015 18:29:40 +0000 Date: Thu, 4 Jun 2015 18:29:39 +0000 (UTC) From: "T Jake Luciani (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-9548) SnappyCompressor only works with direct buffers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14573334#comment-14573334 ] T Jake Luciani commented on CASSANDRA-9548: ------------------------------------------- Caused by CASSANDRA-9096 but as you say this was intended > 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)