https://issues.apache.org/jira/browse/CASSANDRA-4916

Fixed for 1.2.1!

From: Tim Dunphy <bluethundr@gmail.com>
Reply-To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Date: Saturday, January 12, 2013 9:51 AM
To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Subject: java exception on start

Hello,

 I just upgraded to cassandra 1.2 and I notice that when I start the node I see this java exception:

 WARN 12:46:52,872 error reading saved cache /var/lib/cassandra/saved_caches/system-schema_columnfamilies-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.<init>(ColumnFamilyStore.java:284)
        at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:399)
        at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:371)
        at org.apache.cassandra.db.Table.initCf(Table.java:330)
        at org.apache.cassandra.db.Table.<init>(Table.java:273)
        at org.apache.cassandra.db.Table.open(Table.java:103)
        at org.apache.cassandra.db.Table.open(Table.java:81)
        at org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:409)
        at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:204)
        at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:397)
        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:440)


Yes it's a warning and not anything critical. Cassandra does start. The node operates and serves my website (all cassandra based). I'm just wondering if this is something I should consider correcting and wether it will impact the nodes performance.

 Here's a listing of that file that it's complaining about being able to read:

 -rw-r--r-- 1 root root 61 Jan 12 12:07 /var/lib/cassandra/saved_caches/system-schema_columnfamilies-KeyCache-b.db

Thanks,
Tim

--
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B


----------------------------------
Join Barracuda Networks in the fight against hunger.
To learn how you can help in your community, please visit: http://on.fb.me/UAdL4f
  ­­