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 28342E194 for ; Wed, 20 Feb 2013 02:37:13 +0000 (UTC) Received: (qmail 92833 invoked by uid 500); 20 Feb 2013 02:37:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 92771 invoked by uid 500); 20 Feb 2013 02:37: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 92758 invoked by uid 99); 20 Feb 2013 02:37:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2013 02:37:12 +0000 Date: Wed, 20 Feb 2013 02:37:12 +0000 (UTC) From: "Dave Brosius (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-4916) Starting Cassandra throws EOF while reading saved cache 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-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13581890#comment-13581890 ] Dave Brosius commented on CASSANDRA-4916: ----------------------------------------- no mistakenly only applied to trunk... It is now applied to the cassandra-1.2 branch > Starting Cassandra throws EOF while reading saved cache > ------------------------------------------------------- > > Key: CASSANDRA-4916 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4916 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Michael Kjellman > Assignee: Dave Brosius > Priority: Minor > Fix For: 1.2.1 > > Attachments: 4916.txt, data.zip > > > Currently seeing nodes throw an EOF while reading a saved cache on the system schema when starting cassandra > WARN 14:25:54,896 error reading saved cache /ssd/saved_caches/system-schema_columns-KeyCache-b.db > java.io.EOFException > at java.io.DataInputStream.readInt(DataInputStream.java:392) > at org.apache.cassandra.utils.ByteBufferUtil.readWithLength(ByteBufferUtil.java:349) > at org.apache.cassandra.service.CacheService$KeyCacheSerializer.deserialize(CacheService.java:378) > at org.apache.cassandra.cache.AutoSavingCache.loadSaved(AutoSavingCache.java:144) > at org.apache.cassandra.db.ColumnFamilyStore.(ColumnFamilyStore.java:278) > at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:393) > at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:365) > at org.apache.cassandra.db.Table.initCf(Table.java:334) > at org.apache.cassandra.db.Table.(Table.java:272) > at org.apache.cassandra.db.Table.open(Table.java:102) > at org.apache.cassandra.db.Table.open(Table.java:80) > at org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:320) > at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:203) > at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:395) > at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:438) > to reproduce delete all data files, start a cluster, leave cluster up long enough to build a cache. nodetool drain, kill cassandra process. start cassandra process in foreground and note EOF thrown (see above for stack trace) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira