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 6395B9131 for ; Wed, 19 Oct 2011 15:35:32 +0000 (UTC) Received: (qmail 84605 invoked by uid 500); 19 Oct 2011 15:35:32 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 84521 invoked by uid 500); 19 Oct 2011 15:35:32 -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 84513 invoked by uid 99); 19 Oct 2011 15:35:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2011 15:35:32 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2011 15:35:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 95F3B311F24 for ; Wed, 19 Oct 2011 15:35:10 +0000 (UTC) Date: Wed, 19 Oct 2011 15:35:10 +0000 (UTC) From: "Christian Spriegel (Commented) (JIRA)" To: commits@cassandra.apache.org Message-ID: <1480319018.10813.1319038510615.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <347649870.18888.1318806251802.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-3370) Deflate Compression corrupts SSTables 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-3370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130695#comment-13130695 ] Christian Spriegel commented on CASSANDRA-3370: ----------------------------------------------- I see! I got the wrong version. Sorry, I did not know that it was included in the cassandra source. I thought I had to download it some place else. I will try with that and let you know about the results... > Deflate Compression corrupts SSTables > ------------------------------------- > > Key: CASSANDRA-3370 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3370 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 1.0.0 > Environment: Ubuntu Linux, amd64, Cassandra 1.0.0-rc2 > Reporter: Christian Spriegel > Assignee: Sylvain Lebresne > Attachments: system.log > > > Hi, > it seems that the Deflate Compressor corrupts the SSTables. 3 out of 3 Installations were corrupt. Snappy works fine. > Here is what I did: > 1. Start a single cassandra node (I was using ByteOrderedPartitioner) > 2. Write data into cf that uses deflate compression - I think it has to be enough data so that the data folder contains some files. > 3. When I now try to read (I did a range scan) from my application, it fails and the logs show corruptions: > Caused by: org.apache.cassandra.io.compress.CorruptedBlockException: (/home/cspriegel/Development/cassandra1/data/Test/Response-h-2-Data.db): corruption detected, chunk at 0 of length 65536. > regards, > Christian -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira