cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua McKenzie (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-8192) AssertionError in
Date Wed, 26 Nov 2014 00:37:12 GMT


Joshua McKenzie updated CASSANDRA-8192:
    Attachment: printChunkOffsetErrors.txt

([~alsoloplan]: are you the same person as [~Andie78]?)

Tried 7u71 here on 64-bit w/.bat file (no powershell), clean build of 2.1.1 and no changes
to any configuration files and I can't reproduce the above error.  I've also stepped all the
way down to a 32-bit 7u71 JVM w/a 256M heap, threw 5M rows against it via stress and ran a
major compaction in the middle of it and everything's behaving as expected.  Finally, as a
tiny sanity check, I took some data from 2.0.11 and loaded it into a 2.1.1 install, no problems.

Is this happening for you on a clean install of cassandra on this host without any data or
just on your existing dataset?  I'm attaching a patch that should print out the name of the
file the assertion error is getting thrown on as well as wrapping it as a CorruptSSTableException
rather than the non-informative assertion error.  It's possible you have a corrupt file as
our handling of invalid data in CompressionMetadata surrounding the chunkoffset size changed
in 2.1.

Please let me know what you see both with his patch and running a cassandra install w/out
data on this machine, and thanks for the info!

> AssertionError in
> -----------------------------
>                 Key: CASSANDRA-8192
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: Windows-7-32 bit, 3GB RAM, Java 1.7.0_67
>            Reporter: Andreas Schnitzerling
>            Assignee: Joshua McKenzie
>         Attachments: cassandra.bat, cassandra.yaml, printChunkOffsetErrors.txt, system.log
> Since update of 1 of 12 nodes from 2.1.0-rel to 2.1.1-rel Exception during start up.
> {panel:title=system.log}
> ERROR [SSTableBatchOpen:1] 2014-10-27 09:44:00,079 - Exception
in thread Thread[SSTableBatchOpen:1,5,main]
> java.lang.AssertionError: null
> 	at ~[apache-cassandra-2.1.1.jar:2.1.1]
> 	at<init>(
> 	at
> 	at$Builder.metadata(
> 	at$Builder.complete(
> 	at ~[apache-cassandra-2.1.1.jar:2.1.1]
> 	at ~[apache-cassandra-2.1.1.jar:2.1.1]
> 	at ~[apache-cassandra-2.1.1.jar:2.1.1]
> 	at ~[apache-cassandra-2.1.1.jar:2.1.1]
> 	at$ ~[apache-cassandra-2.1.1.jar:2.1.1]
> 	at java.util.concurrent.Executors$ Source) ~[na:1.7.0_55]
> 	at Source) ~[na:1.7.0_55]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_55]
> 	at java.util.concurrent.ThreadPoolExecutor$ Source) [na:1.7.0_55]
> 	at Source) [na:1.7.0_55]
> {panel}
> In the attached log you can still see as well CASSANDRA-8069 and CASSANDRA-6283.

This message was sent by Atlassian JIRA

View raw message