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 95CC096DD for ; Thu, 10 Nov 2011 21:14:15 +0000 (UTC) Received: (qmail 93564 invoked by uid 500); 10 Nov 2011 21:14:15 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 93514 invoked by uid 500); 10 Nov 2011 21:14:15 -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 93506 invoked by uid 99); 10 Nov 2011 21:14:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2011 21:14:15 +0000 X-ASF-Spam-Status: No, hits=-2001.2 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; Thu, 10 Nov 2011 21:14:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9C6CA4CC9D for ; Thu, 10 Nov 2011 21:13:51 +0000 (UTC) Date: Thu, 10 Nov 2011 21:13:51 +0000 (UTC) From: "Dan Hendry (Commented) (JIRA)" To: commits@cassandra.apache.org Message-ID: <424737685.18855.1320959631641.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <747015978.18834.1320959153356.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-3482) Flush Assertion Error - CF size changed during serialization MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-3482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148013#comment-13148013 ] Dan Hendry commented on CASSANDRA-3482: --------------------------------------- I should also point out that the number of columns being logged in the error, 3/4, is MUCH smaller than the expected column count based on the flushed bytes. Just based on the usage pattern for this CF and reading the description for CASSANDRA-2503, I suspect (without any real evidence) they may be related. > Flush Assertion Error - CF size changed during serialization > ------------------------------------------------------------ > > Key: CASSANDRA-3482 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3482 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 1.0.2 > Environment: RHEL 6 > java version "1.6.0_26" > 6 node cluster > Reporter: Dan Hendry > > I have seen the following assert in the logs - there are no other suspicious or unexpected log messages. > INFO [FlushWriter:9] 2011-11-10 13:08:58,882 Memtable.java (line 237) Writing Memtable-UserData@1388955390(25676955/430716097 serialized/live bytes, 478913 ops) > ERROR [FlushWriter:9] 2011-11-10 13:08:59,513 AbstractCassandraDaemon.java (line 133) Fatal exception in thread Thread[FlushWriter:9,5,main] > java.lang.AssertionError: CF size changed during serialization: was 4 initially but 3 written > at org.apache.cassandra.db.ColumnFamilySerializer.serializeForSSTable(ColumnFamilySerializer.java:94) > at org.apache.cassandra.db.ColumnFamilySerializer.serializeWithIndexes(ColumnFamilySerializer.java:112) > at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:177) > at org.apache.cassandra.db.Memtable.writeSortedContents(Memtable.java:264) > at org.apache.cassandra.db.Memtable.access$400(Memtable.java:47) > at org.apache.cassandra.db.Memtable$4.runMayThrow(Memtable.java:289) > at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > Once the error occurs, further MemtablePostFlusher tasks are blocked: > nodetool tpstats: > Pool Name Active Pending Completed Blocked All time blocked > MemtablePostFlusher 1 18 16 0 0 > It *seems* that all further flushed for the particular CF (in this case UserData) will also result in the same assertion error. Restarting the node fixes the problem. -- 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