cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9135) testScrubCorruptedCounterRow is failing under test-compression target
Date Wed, 08 Apr 2015 22:21:12 GMT

    [ 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)

Mime
View raw message