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 CBB0117393 for ; Wed, 8 Apr 2015 22:21:23 +0000 (UTC) Received: (qmail 39973 invoked by uid 500); 8 Apr 2015 22:21:12 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 39929 invoked by uid 500); 8 Apr 2015 22:21:12 -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 39918 invoked by uid 99); 8 Apr 2015 22:21:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2015 22:21:12 +0000 Date: Wed, 8 Apr 2015 22:21:12 +0000 (UTC) From: "Tyler Hobbs (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-9135) testScrubCorruptedCounterRow is failing under test-compression target 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-9135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14486194#comment-14486194 ] Tyler Hobbs commented on CASSANDRA-9135: ---------------------------------------- The basic problem is that scrub can't currently handle corrupted compressed chunks. I could make this test be skipped when compression is enabled during the tests, but really, this is something that scrub needs to be able to handle. I've opened CASSANDRA-9140 to make that improvement to scrub. I'll post a patch to skip the test for now. > testScrubCorruptedCounterRow is failing under test-compression target > --------------------------------------------------------------------- > > Key: CASSANDRA-9135 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9135 > Project: Cassandra > Issue Type: Bug > Components: Tests > Reporter: Philip Thompson > Assignee: Tyler Hobbs > Fix For: 2.0.15 > > > org.apache.cassandra.db.ScrubTest.testScrubCorruptedCounterRow is failing with the following stack trace: > {code} > org.apache.cassandra.io.sstable.CorruptSSTableException: org.apache.cassandra.io.compress.CorruptBlockException: (/home/automaton/cassandra/build/test/cassandra/data/Keyspace1/Counter1/Keyspace1-Counter1-jb-1-Data.db): corruption detected, chunk at 0 of length 79. > at org.apache.cassandra.io.compress.CompressedRandomAccessReader.reBuffer(CompressedRandomAccessReader.java:91) > at org.apache.cassandra.io.compress.CompressedThrottledReader.reBuffer(CompressedThrottledReader.java:41) > at org.apache.cassandra.io.util.RandomAccessReader.seek(RandomAccessReader.java:283) > at org.apache.cassandra.db.compaction.Scrubber.scrub(Scrubber.java:243) > at org.apache.cassandra.db.ScrubTest.testScrubCorruptedCounterRow(ScrubTest.java:124) > Caused by: org.apache.cassandra.io.compress.CorruptBlockException: (/home/automaton/cassandra/build/test/cassandra/data/Keyspace1/Counter1/Keyspace1-Counter1-jb-1-Data.db): corruption detected, chunk at 0 of length 79. > at org.apache.cassandra.io.compress.CompressedRandomAccessReader.decompressChunk(CompressedRandomAccessReader.java:122) > at org.apache.cassandra.io.compress.CompressedRandomAccessReader.reBuffer(CompressedRandomAccessReader.java:87) > Caused by: java.io.IOException: FAILED_TO_UNCOMPRESS(5) > at org.xerial.snappy.SnappyNative.throw_error(SnappyNative.java:78) > at org.xerial.snappy.SnappyNative.rawUncompress(Native Method) > at org.xerial.snappy.Snappy.rawUncompress(Snappy.java:395) > at org.apache.cassandra.io.compress.SnappyCompressor.uncompress(SnappyCompressor.java:93) > at org.apache.cassandra.io.compress.CompressedRandomAccessReader.decompressChunk(CompressedRandomAccessReader.java:118) > {code} > I've bisected back 400 commits and can't find a time that this passed. Reproduce on 2.0-head with the following command: > {code}ant test-compression -Dtest.name=ScrubTest{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)